lib/iruby/ostream.rb in iruby-0.5.0 vs lib/iruby/ostream.rb in iruby-0.6.0
- old
+ new
@@ -44,9 +44,14 @@
def writelines(lines)
lines.each { |s| write(s) }
end
+ # Called by irb
+ def set_encoding(extern, intern)
+ a = extern
+ end
+
private
def build_string
StringIO.open { |sio| yield(sio); sio.string }
end