Class: IronNails::Core::ComponentRegistryItem
- Inherits:
-
Object
- Object
- IronNails::Core::ComponentRegistryItem
- Defined in:
- lib/ironnails/nails_engine.rb
Instance Attribute Summary collapse
-
#view ⇒ Object
Returns the value of attribute view.
-
#viewmodel ⇒ Object
Returns the value of attribute viewmodel.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ComponentRegistryItem
constructor
A new instance of ComponentRegistryItem.
Constructor Details
#initialize(options = {}) ⇒ ComponentRegistryItem
Returns a new instance of ComponentRegistryItem.
229 230 231 232 |
# File 'lib/ironnails/nails_engine.rb', line 229 def initialize(={}) @view = [:view] @viewmodel = [:viewmodel] end |
Instance Attribute Details
#view ⇒ Object
Returns the value of attribute view.
227 228 229 |
# File 'lib/ironnails/nails_engine.rb', line 227 def view @view end |
#viewmodel ⇒ Object
Returns the value of attribute viewmodel.
225 226 227 |
# File 'lib/ironnails/nails_engine.rb', line 225 def viewmodel @viewmodel end |