Exception: BetterHtml::ParserError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- BetterHtml::ParserError
- Defined in:
- lib/better_html/errors.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#position ⇒ Object
readonly
Returns the value of attribute position.
Instance Method Summary collapse
-
#initialize(message, position, line, column) ⇒ ParserError
constructor
A new instance of ParserError.
Constructor Details
#initialize(message, position, line, column) ⇒ ParserError
Returns a new instance of ParserError.
19 20 21 22 23 24 |
# File 'lib/better_html/errors.rb', line 19 def initialize(, position, line, column) super() @position = position @line = line @column = column end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
17 18 19 |
# File 'lib/better_html/errors.rb', line 17 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
17 18 19 |
# File 'lib/better_html/errors.rb', line 17 def line @line end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
17 18 19 |
# File 'lib/better_html/errors.rb', line 17 def position @position end |