Class: MVCLI::Controller
- Inherits:
-
Object
- Object
- MVCLI::Controller
- Defined in:
- lib/mvcli/controller.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Controller
constructor
A new instance of Controller.
Constructor Details
#initialize(params = {}) ⇒ Controller
Returns a new instance of Controller.
4 5 6 |
# File 'lib/mvcli/controller.rb', line 4 def initialize(params = {}) @params = params end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
2 3 4 |
# File 'lib/mvcli/controller.rb', line 2 def params @params end |