Method: Satis::InfoItem::Component#initialize
- Defined in:
- app/components/satis/info_item/component.rb
#initialize(name, *args, &block) ⇒ Component
Returns a new instance of Component.
8 9 10 11 12 13 14 15 16 |
# File 'app/components/satis/info_item/component.rb', line 8 def initialize(name, *args, &block) super @name = name @args = args = args. @group = [:group] @icon = [:icon] @placeholder = [:placeholder] || '—' end |