Exception: Moxml::InvalidSelectorError
- Inherits:
-
VisitorError
- Object
- StandardError
- Error
- VisitorError
- Moxml::InvalidSelectorError
- Defined in:
- lib/moxml/errors.rb
Instance Attribute Summary collapse
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
-
#initialize(message, selector) ⇒ InvalidSelectorError
constructor
A new instance of InvalidSelectorError.
Constructor Details
#initialize(message, selector) ⇒ InvalidSelectorError
Returns a new instance of InvalidSelectorError.
90 91 92 93 |
# File 'lib/moxml/errors.rb', line 90 def initialize(, selector) @selector = selector super("#{} (Selector: #{selector})") end |
Instance Attribute Details
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
88 89 90 |
# File 'lib/moxml/errors.rb', line 88 def selector @selector end |