lib/hamlit/concerns/indentable.rb in hamlit-0.1.2 vs lib/hamlit/concerns/indentable.rb in hamlit-0.1.3

- old
+ new

@@ -32,10 +32,10 @@ def count_indent(line, strict: false) return EOF unless line 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 def count_width(line)