Exception: Anony::SelectorNotFoundException
- Inherits:
-
StandardError
- Object
- StandardError
- Anony::SelectorNotFoundException
- Defined in:
- lib/anony/selector_not_found_exception.rb
Instance Method Summary collapse
-
#initialize(selector, model_name) ⇒ SelectorNotFoundException
constructor
A new instance of SelectorNotFoundException.
Constructor Details
#initialize(selector, model_name) ⇒ SelectorNotFoundException
Returns a new instance of SelectorNotFoundException.
5 6 7 |
# File 'lib/anony/selector_not_found_exception.rb', line 5 def initialize(selector, model_name) super("Selector for #{selector} not found. Make sure you have one defined in #{model_name}") end |