Method: Satis::InputArray::Component#initialize

Defined in:
app/components/satis/input_array/component.rb

#initialize(form:, attribute:, **options) ⇒ Component

Returns a new instance of Component.



8
9
10
11
12
13
14
15
# File 'app/components/satis/input_array/component.rb', line 8

def initialize(form:, attribute:, **options)
  super

  @form = form
  @attribute = attribute
  @options = options
  options[:input_html] ||= {}
end