]> git.cworth.org Git - sup/commitdiff
whoops, add labels accessor to MBox::Loader
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 24 Feb 2008 22:51:08 +0000 (14:51 -0800)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 24 Feb 2008 22:51:08 +0000 (14:51 -0800)
lib/sup/mbox/loader.rb

index 4acc0645d90f99dd7ac5f77768a1b3e26c30e4a5..58f4fc7d8fefbf2379edf315e6bc97ad8cc187ea 100644 (file)
@@ -6,6 +6,7 @@ module MBox
 
 class Loader < Source
   yaml_properties :uri, :cur_offset, :usual, :archived, :id, :labels
+  attr_accessor :labels
 
   ## uri_or_fp is horrific. need to refactor.
   def initialize uri_or_fp, start_offset=nil, usual=true, archived=false, id=nil, labels=[]