Class: BootstrapJumbotronTheme::IndexController

Inherits:
ModelController
  • Object
show all
Defined in:
app/bootstrap-jumbotron-theme/controllers/index_controller.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject

Returns the value of attribute data.



5
6
7
# File 'app/bootstrap-jumbotron-theme/controllers/index_controller.rb', line 5

def data
  @data
end