Method: Satis::Tab::Component#initialize
- Defined in:
- app/components/satis/tab/component.rb
#initialize(name, *args, &block) ⇒ Component
Returns a new instance of Component.
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/components/satis/tab/component.rb', line 8 def initialize(name, *args, &block) super @name = name = args. @args = args @icon = [:icon] @id = [:id] @badge = [:badge] = [:tab_menu] @block = block @selected_tab_index = [:selected_tab_index] @dirty = [:dirty] end |