X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=code_ruby%2Flib%2Fmaasha%2Ffilesys.rb;h=7480293fdaf9ff02cabddccc6e0f3c72c5d2af1d;hb=25829ee948f648dbbc4a8205bb27552e84eb3e8c;hp=2ee775760fa36faabcabcbac99f193bdbc4524dc;hpb=a945a21356f87f679f433279e502676f425ac8ee;p=biopieces.git diff --git a/code_ruby/lib/maasha/filesys.rb b/code_ruby/lib/maasha/filesys.rb index 2ee7757..7480293 100644 --- a/code_ruby/lib/maasha/filesys.rb +++ b/code_ruby/lib/maasha/filesys.rb @@ -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?