Exception: MetaPresenter::Builder::FileExistsButPresenterNotDefinedError
- Inherits:
-
NameError
- Object
- NameError
- MetaPresenter::Builder::FileExistsButPresenterNotDefinedError
- Defined in:
- lib/meta_presenter/builder.rb
Overview
Error when there’s no presenter class defined but a file for it exists
Instance Method Summary collapse
-
#initialize(presenter_class_name, presenter_file_path) ⇒ FileExistsButPresenterNotDefinedError
constructor
Create a new error.
Constructor Details
#initialize(presenter_class_name, presenter_file_path) ⇒ FileExistsButPresenterNotDefinedError
Create a new error
27 28 29 |
# File 'lib/meta_presenter/builder.rb', line 27 def initialize(presenter_class_name, presenter_file_path) super("Presenter class #{presenter_class_name} is not defined but file exists at #{presenter_file_path}") end |