lib/ezmlm/list.rb
changeset 20 9d59d30685cb
parent 17 23c7f5c8ee39
child 24 f8873b391f3d
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 
       
     5 require 'pathname'
       
     6 require 'time'
       
     7 require 'etc'
       
     8 require 'ezmlm' unless defined?( Ezmlm )
     3 
     9 
     4 
    10 
     5 # A Ruby interface to a single Ezmlm-idx mailing list directory.
    11 # A Ruby interface to a single Ezmlm-idx mailing list directory.
     6 #
    12 #
     7 #    list = Ezmlm::List.new( '/path/to/listdir' )
    13 #    list = Ezmlm::List.new( '/path/to/listdir' )
     8 #
    14 #
     9 #
       
    10 # == Version
       
    11 #
       
    12 #  $Id$
       
    13 #
       
    14 #---
    15 #---
    15 
       
    16 require 'pathname'
       
    17 require 'time'
       
    18 require 'etc'
       
    19 require 'ezmlm' unless defined?( Ezmlm )
       
    20 
       
    21 
       
    22 ### A Ruby interface to an ezmlm-idx mailing list directory
       
    23 ###
       
    24 class Ezmlm::List
    16 class Ezmlm::List
       
    17 	#  $Id$
    25 
    18 
    26 	# Valid subdirectories/sections for subscriptions.
    19 	# Valid subdirectories/sections for subscriptions.
    27 	SUBSCRIPTION_DIRS = %w[ deny mod digest allow ]
    20 	SUBSCRIPTION_DIRS = %w[ deny mod digest allow ]
    28 
    21 
    29 
    22