Exception: Anony::SelectorNotFoundException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/anony/selector_not_found_exception.rb

Instance Method Summary collapse

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