Class: WrapperComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- WrapperComponent
- Defined in:
- lib/install/wrapper_component.rb
Instance Method Summary collapse
-
#initialize(name, arguments) ⇒ WrapperComponent
constructor
A new instance of WrapperComponent.
Constructor Details
#initialize(name, arguments) ⇒ WrapperComponent
Returns a new instance of WrapperComponent.
4 5 6 7 8 9 |
# File 'lib/install/wrapper_component.rb', line 4 def initialize(name, arguments) defaults = Ui::Utilities.instance.defaults(component: name) settings = merge_defaults(defaults, arguments) @component = Ui::Component.new(settings) end |