Exception: FastHaml::IndentTracker::IndentMismatch
- Inherits:
-
StandardError
- Object
- StandardError
- FastHaml::IndentTracker::IndentMismatch
- Defined in:
- lib/fast_haml/indent_tracker.rb
Instance Attribute Summary collapse
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
Instance Method Summary collapse
-
#initialize(message, lineno) ⇒ IndentMismatch
constructor
A new instance of IndentMismatch.
Constructor Details
#initialize(message, lineno) ⇒ IndentMismatch
Returns a new instance of IndentMismatch.
6 7 8 9 |
# File 'lib/fast_haml/indent_tracker.rb', line 6 def initialize(, lineno) super("#{} at line #{lineno}") @lineno = lineno end |
Instance Attribute Details
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
4 5 6 |
# File 'lib/fast_haml/indent_tracker.rb', line 4 def lineno @lineno end |