lib/ezmlm/list/author.rb
changeset 20 9d59d30685cb
parent 17 23c7f5c8ee39
equal deleted inserted replaced
19:c09ca4007e6c 20:9d59d30685cb
     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 authored from a unique user.
     8 # A collection of messages authored from a unique user.
     6 #
     9 #
     7 # Note that Ezmlm uses the "real name" part of an address
    10 # Note that Ezmlm uses the "real name" part of an address
     9 #
    12 #
    10 #    author = Ezmlm::List::Author.new( list, 'acgcbmbmeapgpfckcdol' )
    13 #    author = Ezmlm::List::Author.new( list, 'acgcbmbmeapgpfckcdol' )
    11 #    author.name            #=> "Help - navigate on interface?"
    14 #    author.name            #=> "Help - navigate on interface?"
    12 #    author.first.date.to_s #=> "2017-05-07T14:55:05-07:00"
    15 #    author.first.date.to_s #=> "2017-05-07T14:55:05-07:00"
    13 #
    16 #
    14 #
       
    15 # == Version
       
    16 #
       
    17 #  $Id$
       
    18 #
       
    19 #---
    17 #---
    20 
       
    21 require 'pathname'
       
    22 require 'ezmlm' unless defined?( Ezmlm )
       
    23 
       
    24 
       
    25 ### A collection of messages for a specific author.
       
    26 ###
       
    27 class Ezmlm::List::Author
    18 class Ezmlm::List::Author
       
    19 	#  $Id$
    28 	include Enumerable
    20 	include Enumerable
    29 
    21 
    30 	### Instantiate a new list of messages given
    22 	### Instantiate a new list of messages given
    31 	### a +list+ and an +author_id+.
    23 	### a +list+ and an +author_id+.
    32 	###
    24 	###