Method: Satis::Editor::Component#initialize

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

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

Returns a new instance of Component.



7
8
9
10
11
# File 'app/components/satis/editor/component.rb', line 7

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