Method: Satis::Input::Component#initialize

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

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

Returns a new instance of Component.



23
24
25
26
27
# File 'app/components/satis/input/component.rb', line 23

def initialize(form: nil, attribute: nil, **options)
  @form = form
  @attribute = attribute
  @options = options
end