On Thu, 28 Aug 2008 14:50:26 -0500, James Gray wrote:
> Can you explain how this fixes 1.9? Strings are not Enumerable in 1.9
> so I don't get what switching from each_line() to each did for us.
Sorry! You're a victim of my diff villany. It's actually the other way
around: I had to switch to each_line to get io.rb to work with 1.9:
case block.arity
when 1 then lines.each_line { |line| block.call(line) }
when 2 then lines.each_line { |line| block.call(line, name) }
end
-Charles
_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev