]> git.cworth.org Git - sup/commitdiff
minor bugfix
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 30 Dec 2006 15:45:08 +0000 (15:45 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Sat, 30 Dec 2006 15:45:08 +0000 (15:45 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@127 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/mbox/loader.rb

index 367f21d703a9338a76180508525d259c997e05f7..20ba1bd5b55b2183adb526039a64df139b678fd3 100644 (file)
@@ -4,6 +4,8 @@ module Redwood
 module MBox
 
 class Loader < Source
+  attr_reader :labels
+
   def initialize uri_or_fp, start_offset=nil, usual=true, archived=false, id=nil
     super
 
@@ -116,7 +118,7 @@ class Loader < Source
     end
 
     self.cur_offset = next_offset
-    [returned_offset, @labels]
+    [returned_offset, labels]
   end
 end