Method: Bs5::ButtonGroupComponent#initialize
- Defined in:
- app/components/bs5/button_group_component.rb
#initialize(options = {}) ⇒ ButtonGroupComponent
Returns a new instance of ButtonGroupComponent.
10 11 12 13 14 |
# File 'app/components/bs5/button_group_component.rb', line 10 def initialize( = {}) = .symbolize_keys @vertical = .delete(:vertical) @size = .delete(:size) end |