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.
Instance Method Summary collapse
-
#initialize(message, line, column) ⇒ ParserError
constructor
A new instance of ParserError.
Constructor Details
#initialize(message, line, column) ⇒ ParserError
Returns a new instance of ParserError.
6 7 8 9 10 |
# File 'lib/html_tokenizer.rb', line 6 def initialize(, line, column) super() @line = line @column = column end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
5 6 7 |
# File 'lib/html_tokenizer.rb', line 5 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
5 6 7 |
# File 'lib/html_tokenizer.rb', line 5 def line @line end |