platform/shared/rubyJVM/src/com/xruby/GeneratedMethods/RubyStringIO_Methods.java in rhodes-1.4.2 vs platform/shared/rubyJVM/src/com/xruby/GeneratedMethods/RubyStringIO_Methods.java in rhodes-1.5.0
- old
+ new
@@ -17,9 +17,13 @@
klass.defineMethod( "read", new RubyVarArgMethod(){
protected RubyValue run(RubyValue receiver, RubyArray args, RubyBlock block ){
return ((RubyStringIO)receiver).read(args);}
});
+klass.defineMethod( "readline", new RubyVarArgMethod(){
+ protected RubyValue run(RubyValue receiver, RubyArray args, RubyBlock block ){
+ return ((RubyStringIO)receiver).readLine(args);}
+});
klass.defineMethod( "eof?", new RubyNoArgMethod(){
protected RubyValue run(RubyValue receiver, RubyBlock block ){
return ((RubyStringIO)receiver).isEOF();}
});