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.
17 18 19 20 |
# File 'lib/better_html/parser.rb', line 17 def initialize(, location:) super() @location = location end |
Instance Attribute Details
#location ⇒ Object (readonly) Also known as: loc
Returns the value of attribute location.
14 15 16 |
# File 'lib/better_html/parser.rb', line 14 def location @location end |