DebugClients/Ruby/AsyncFile.rb

changeset 710
5a18249d68aa
parent 13
1af94a91f439
child 791
9ec2ac20e54e
diff -r 0129fbced654 -r 5a18249d68aa DebugClients/Ruby/AsyncFile.rb
--- a/DebugClients/Ruby/AsyncFile.rb	Fri Oct 29 11:37:43 2010 +0200
+++ b/DebugClients/Ruby/AsyncFile.rb	Fri Oct 29 19:09:37 2010 +0200
@@ -238,7 +238,14 @@
         return lines
     end
     
-    def seek(offset, whence=IO::SEEK_SET)
+    def gets()
+=begin edoc
+ Public method to read a line from this file.
+=end
+        readline()
+    end
+
+   def seek(offset, whence=IO::SEEK_SET)
 =begin edoc
 Public method to move the filepointer.
 

eric ide

mercurial