]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/filesys.rb
beautifying fasta.rb
[biopieces.git] / code_ruby / lib / maasha / filesys.rb
index 9024a580db80a4d1c16738ee7444aa0cee81e382..b3b450a9aefd653a53f8d80a9647a2e231f372c5 100644 (file)
@@ -65,6 +65,7 @@ class Filesys
     end
   end
 
+  # TODO figure out what type is for.
   def initialize(io, type=nil)
     @io   = io
     @type = type
@@ -82,6 +83,11 @@ class Filesys
     end
   end
 
+  # Method to puts directoy on Filesys objects.
+  def puts *args
+    @io.puts *args
+  end
+
   private
 
   # Helper method to return an ios to a file that may be zipped in which case
@@ -98,3 +104,4 @@ class Filesys
     self.new(ios)
   end
 end
+