Class: Regressor::RegressionController
- Inherits:
-
Object
- Object
- Regressor::RegressionController
- Includes:
- ActionDispatch::Routing, Controller::Callback::AfterFilter, Controller::Callback::AroundFilter, Controller::Callback::BeforeFilter, Controller::Routing::Rest::Routes, Controller::Util
- Defined in:
- lib/generators/regressor/regression_controller.rb
Instance Attribute Summary collapse
-
#controller ⇒ Object
Returns the value of attribute controller.
Instance Method Summary collapse
-
#initialize(controller) ⇒ RegressionController
constructor
A new instance of RegressionController.
Methods included from Controller::Callback::AroundFilter
Methods included from Controller::Callback::AfterFilter
Methods included from Controller::Callback::BeforeFilter
Methods included from Controller::Routing::Rest::Routes
Methods included from Controller::Util
#after_filters, #around_filters, #before_filters
Constructor Details
#initialize(controller) ⇒ RegressionController
Returns a new instance of RegressionController.
19 20 21 |
# File 'lib/generators/regressor/regression_controller.rb', line 19 def initialize(controller) @controller = controller end |
Instance Attribute Details
#controller ⇒ Object
Returns the value of attribute controller.
17 18 19 |
# File 'lib/generators/regressor/regression_controller.rb', line 17 def controller @controller end |