Class: Hamlit::HamlParser::Line
- Defined in:
- lib/hamlit/parser/haml_parser.rb
Instance Method Summary collapse
Instance Method Details
#strip!(from) ⇒ Object
194 195 196 197 198 |
# File 'lib/hamlit/parser/haml_parser.rb', line 194 def strip!(from) self.text = text[from..-1] self.text.lstrip! self end |
#tabs ⇒ Object
190 191 192 |
# File 'lib/hamlit/parser/haml_parser.rb', line 190 def tabs @tabs ||= parser.compute_tabs(self) end |