Class: BootstrapJumbotronTheme::IndexController
- Inherits:
-
ModelController
- Object
- ModelController
- BootstrapJumbotronTheme::IndexController
- Defined in:
- app/bootstrap-jumbotron-theme/controllers/index_controller.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ IndexController
constructor
A new instance of IndexController.
Constructor Details
#initialize(data) ⇒ IndexController
Returns a new instance of IndexController.
7 8 9 |
# File 'app/bootstrap-jumbotron-theme/controllers/index_controller.rb', line 7 def initialize(data) @data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
5 6 7 |
# File 'app/bootstrap-jumbotron-theme/controllers/index_controller.rb', line 5 def data @data end |