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

Fix wording

This commit is contained in:
Takashi Kokubun 2015-03-31 02:28:50 +09:00
parent 159af590a3
commit d333f586df
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ module Hamlit
[:code, code]
end
def assert!(message)
def copmile_error!(message)
raise CompileError.new(message)
end

View file

@ -34,7 +34,7 @@ module Hamlit
width = count_width(line)
return (width + 1) / 2 unless strict
assert!('Expected to count even-width indent') if width.odd?
compile_error!('Expected to count even-width indent') if width.odd?
width / 2
end