Exception: BetterHtml::Parser::Error
- Defined in:
- lib/better_html/parser.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
(also: #loc)
readonly
Returns the value of attribute location.
Instance Method Summary collapse
-
#initialize(message, location:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, location:) ⇒ Error
Returns a new instance of Error.
20 21 22 23 |
# File 'lib/better_html/parser.rb', line 20 def initialize(, location:) super() @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly) Also known as: loc
Returns the value of attribute location.
17 18 19 |
# File 'lib/better_html/parser.rb', line 17 def location @location end |