]> git.donarmstrong.com Git - biopieces.git/commitdiff
added eof? method to filesys.rb
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 8 Mar 2013 12:24:12 +0000 (12:24 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Fri, 8 Mar 2013 12:24:12 +0000 (12:24 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@2115 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/filesys.rb

index 2ee775760fa36faabcabcbac99f193bdbc4524dc..7480293fdaf9ff02cabddccc6e0f3c72c5d2af1d 100644 (file)
@@ -74,6 +74,10 @@ class Filesys
     @io.close
   end
 
+  def eof?
+    @io.eof?
+  end
+
   # Method to check if io is closed.
   def closed?
     @io.closed?