Method: Satis::Tabs::Component#initialize
- Defined in:
- app/components/satis/tabs/component.rb
#initialize(group: :main, persist: false, key: nil, custom_link: nil) ⇒ Component
Returns a new instance of Component.
14 15 16 17 18 19 20 21 |
# File 'app/components/satis/tabs/component.rb', line 14 def initialize(group: :main, persist: false, key: nil, custom_link: nil) super @group = group @persist = persist @key = key @scope = group @custom_link = custom_link end |