Class: Admin::InputGroupComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Admin::InputGroupComponent
- Defined in:
- lib/generators/infold/templates/install/app/components/admin/input_group_component.rb
Instance Method Summary collapse
-
#initialize(append: nil, prepend: nil) ⇒ InputGroupComponent
constructor
A new instance of InputGroupComponent.
Constructor Details
#initialize(append: nil, prepend: nil) ⇒ InputGroupComponent
Returns a new instance of InputGroupComponent.
5 6 7 8 |
# File 'lib/generators/infold/templates/install/app/components/admin/input_group_component.rb', line 5 def initialize(append: nil, prepend: nil) @append = append @prepend = prepend end |