equal
deleted
inserted
replaced
1 #!/usr/bin/ruby |
1 #!/usr/bin/ruby |
2 # vim: set nosta noet ts=4 sw=4: |
2 # vim: set nosta noet ts=4 sw=4: |
|
3 |
|
4 require 'pathname' |
|
5 require 'ezmlm' unless defined?( Ezmlm ) |
3 |
6 |
4 |
7 |
5 # A collection of messages for a specific archive thread. |
8 # A collection of messages for a specific archive thread. |
6 # |
9 # |
7 # thread = Ezmlm::List::Thread.new( list, 'acgcbmbmeapgpfckcdol' ) |
10 # thread = Ezmlm::List::Thread.new( list, 'acgcbmbmeapgpfckcdol' ) |
8 # thread.subject #=> "Help - navigate on interface?" |
11 # thread.subject #=> "Help - navigate on interface?" |
9 # thread.first.date.to_s #=> "2017-05-07T14:55:05-07:00" |
12 # thread.first.date.to_s #=> "2017-05-07T14:55:05-07:00" |
10 # |
13 # |
11 # |
|
12 # == Version |
|
13 # |
|
14 # $Id$ |
|
15 # |
|
16 #--- |
14 #--- |
17 |
|
18 require 'pathname' |
|
19 require 'ezmlm' unless defined?( Ezmlm ) |
|
20 |
|
21 |
|
22 ### A collection of messages for a specific archive thread. |
|
23 ### |
|
24 class Ezmlm::List::Thread |
15 class Ezmlm::List::Thread |
|
16 # $Id$ |
25 include Enumerable |
17 include Enumerable |
26 |
18 |
27 ### Instantiate a new thread of messages given |
19 ### Instantiate a new thread of messages given |
28 ### a +list+ and a +thread_id+. |
20 ### a +list+ and a +thread_id+. |
29 ### |
21 ### |