Exception: HtmlTokenizer::ParserError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- HtmlTokenizer::ParserError
- Defined in:
- lib/html_tokenizer.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.
8 9 10 11 12 13 |
# File 'lib/html_tokenizer.rb', line 8 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.
7 8 9 |
# File 'lib/html_tokenizer.rb', line 7 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
7 8 9 |
# File 'lib/html_tokenizer.rb', line 7 def line @line end |
#position ⇒ Object (readonly)
Returns the value of attribute position.
7 8 9 |
# File 'lib/html_tokenizer.rb', line 7 def position @position end |