1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Strings aren't enumerable in 1.9.

This commit is contained in:
Nathan Weizenbaum 2009-01-22 14:44:37 -08:00
parent 530d226ff6
commit dd8901ada2

View file

@ -260,7 +260,7 @@ module Haml
block.call(*args)
captured = haml_buffer.buffer.slice!(position..-1)
captured = haml_buffer.buffer.slice!(position..-1).split(/^/)
min_tabs = nil
captured.each do |line|