Method: Formalist::ChildForms::ChildForm#to_ast

Defined in:
lib/formalist/child_forms/child_form.rb

#to_astObject



38
39
40
41
42
43
44
45
# File 'lib/formalist/child_forms/child_form.rb', line 38

def to_ast
  [:child_form, [
    name,
    type,
    input,
    Element::Attributes.new(attributes).to_ast,
  ]]
end