Exception: WelltreatStoreFramework::StoreApp::ControllerNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- WelltreatStoreFramework::StoreApp::ControllerNotFound
- Defined in:
- lib/welltreat_store_framework/store_app.rb
Overview
Declare exceptions
Instance Attribute Summary collapse
-
#controller_name ⇒ Object
Returns the value of attribute controller_name.
Instance Method Summary collapse
-
#initialize(_c_name) ⇒ ControllerNotFound
constructor
A new instance of ControllerNotFound.
Constructor Details
#initialize(_c_name) ⇒ ControllerNotFound
Returns a new instance of ControllerNotFound.
8 9 10 11 |
# File 'lib/welltreat_store_framework/store_app.rb', line 8 def initialize(_c_name) super "Controller - #{_c_name} not found." self.controller_name = _c_name end |
Instance Attribute Details
#controller_name ⇒ Object
Returns the value of attribute controller_name.
6 7 8 |
# File 'lib/welltreat_store_framework/store_app.rb', line 6 def controller_name @controller_name end |