Exception: PageModels::ImplementationError
- Inherits:
-
StandardError
- Object
- StandardError
- PageModels::ImplementationError
- Defined in:
- lib/page_models/errors.rb
Instance Method Summary collapse
-
#initialize(page_model, method) ⇒ ImplementationError
constructor
A new instance of ImplementationError.
Constructor Details
#initialize(page_model, method) ⇒ ImplementationError
Returns a new instance of ImplementationError.
6 7 8 |
# File 'lib/page_models/errors.rb', line 6 def initialize(page_model, method) super("#{page_model.class} must implement ##{method}.") end |