]> git.donarmstrong.com Git - biopieces.git/blobdiff - code_ruby/lib/maasha/filesys.rb
fixed score base bug in sff.rb
[biopieces.git] / code_ruby / lib / maasha / filesys.rb
index bed11f023d13506d84df3ec7ea1b81058612269d..7480293fdaf9ff02cabddccc6e0f3c72c5d2af1d 100644 (file)
@@ -74,6 +74,15 @@ class Filesys
     @io.close
   end
 
+  def eof?
+    @io.eof?
+  end
+
+  # Method to check if io is closed.
+  def closed?
+    @io.closed?
+  end
+
   # Iterator method for parsing entries.
   def each
     while entry = get_entry do