Exception: Trio::Blog::API::SelectorNotFoundError
- Defined in:
- lib/trio/blog/api/error/selector_not_found_error.rb
Instance Attribute Summary collapse
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
-
#initialize(selector) ⇒ SelectorNotFoundError
constructor
A new instance of SelectorNotFoundError.
Constructor Details
#initialize(selector) ⇒ SelectorNotFoundError
Returns a new instance of SelectorNotFoundError.
7 8 9 10 |
# File 'lib/trio/blog/api/error/selector_not_found_error.rb', line 7 def initialize(selector) super("Element not found with '#{selector}' selector") @selector = selector end |
Instance Attribute Details
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
5 6 7 |
# File 'lib/trio/blog/api/error/selector_not_found_error.rb', line 5 def selector @selector end |