]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/fastq.rb
fixed attributes
[biopieces.git] / code_ruby / lib / maasha / fastq.rb
index 77a4706efa01a9a03ce7181ae6a7d0d4e738ead9..ac97be0cd17a05f9e1a2230ecba4bc6f8b5057e9 100644 (file)
@@ -64,7 +64,7 @@ class FastqIndex
 
   # Method to initialize a FastqIndex object. For reading
   # entries from file an _ios_ object must be supplied.
-  def initialize(ios)
+  def initialize(ios = nil)
     @ios    = ios
     @index  = {}
     @offset = 0