Commit Description:
Using the File.print method after the global input record separator had
been changed generated a different output than the MRI.
For example, consider the next code block:
$\ = ">>"
file = File.open("a.txt","w")
file.print "One ", 1, ", Two ", 2
file.close
Output file on MRI: One 1, Two 2>>
Output file on IronRuby: One >>1>>, Two >>2>>
This commit fixes this behavior.
Commit site:
http://github.com/shayfriedman/ironruby/commit/0ccacf09b53c231f21851391d616b0fa53026197
Files changed:
Merlin/Main/Languages/Ruby/Libraries.LCA_RESTRICTED/Builtins/IoOps.cs
Thanks,
Shay.
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core