Class: NfgUi::UI::NetworkForGood
- Inherits:
-
Object
- Object
- NfgUi::UI::NetworkForGood
- Includes:
- Utilities::Initializer
- Defined in:
- lib/nfg_ui/ui/network_for_good.rb
Instance Attribute Summary collapse
-
#view_context ⇒ Object
Returns the value of attribute view_context.
Attributes included from Utilities::Initializer
#class_name, #component, #component_name, #options, #traits
Instance Method Summary collapse
-
#initialize(view_context, component_name = nil, *traits, **options, &block) ⇒ NetworkForGood
constructor
A new instance of NetworkForGood.
Methods included from Utilities::Initializer
Constructor Details
#initialize(view_context, component_name = nil, *traits, **options, &block) ⇒ NetworkForGood
Returns a new instance of NetworkForGood.
10 11 12 13 |
# File 'lib/nfg_ui/ui/network_for_good.rb', line 10 def initialize(view_context, component_name = nil, *traits, **, &block) self.view_context = view_context initializer(component_name, *traits, **, &block) end |
Instance Attribute Details
#view_context ⇒ Object
Returns the value of attribute view_context.
8 9 10 |
# File 'lib/nfg_ui/ui/network_for_good.rb', line 8 def view_context @view_context end |