Exception: PageModels::ImplementationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/page_models/errors.rb

Instance Method Summary collapse

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