Exception: Haml::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Haml::Error
- Defined in:
- lib/haml/error.rb
Overview
An exception raised by Haml code.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#line ⇒ Fixnum
readonly
The line of the template on which the error occurred.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message = nil, line = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message = nil, line = nil) ⇒ Error
Returns a new instance of Error
52 53 54 55 |
# File 'lib/haml/error.rb', line 52
def initialize(message = nil, line = nil)
super(message)
@line = line
end
|