]> git.notmuchmail.org Git - sup/commitdiff
remove vestigal mbox#read_body method
authorWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 26 Apr 2009 14:32:22 +0000 (10:32 -0400)
committerWilliam Morgan <wmorgan-sup@masanjin.net>
Sun, 26 Apr 2009 14:32:22 +0000 (10:32 -0400)
lib/sup/mbox.rb

index 8497a37f11a6f6a00bce35953e4a43d5c96103e7..e9787ca9718ddde67881bea94ff3e304e853302d 100644 (file)
@@ -66,16 +66,6 @@ module MBox
     header
   end
   
-  ## never actually called
-  def read_body f
-    body = []
-    f.each_line do |l|
-      break if l =~ BREAK_RE
-      body << l.chomp
-    end
-    body
-  end
-
-  module_function :read_header, :read_body
+  module_function :read_header
 end
 end