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

Don't fully qualify method name since we already import Haml::Utils

This commit is contained in:
Norman Clarke 2013-12-06 23:15:33 -03:00
parent 1ed9f043d2
commit 4993e90eda

View file

@ -168,8 +168,8 @@ module Haml
return @template_tabs + 1 if flat? && line.whitespace =~ /^#{@flat_spaces}/
message = Error.message(:inconsistent_indentation,
Haml::Util.human_indentation(line.whitespace),
Haml::Util.human_indentation(@indentation)
human_indentation(line.whitespace),
human_indentation(@indentation)
)
raise SyntaxError.new(message, line.index)
end