Class: EasyAdmin::Layouts::Nodes::FormAction

Inherits:
BaseNode
  • Object
show all
Defined in:
lib/easy_admin/layouts/nodes/stubs.rb

Instance Attribute Summary

Attributes inherited from BaseNode

#attributes, #children, #metadata, #visible_if

Instance Method Summary collapse

Methods inherited from BaseNode

#[], #[]=, #accept, #add_child, #children?, #node_type, #visible?

Constructor Details

#initialize(type, **attributes) ⇒ FormAction

Returns a new instance of FormAction.



71
72
73
74
# File 'lib/easy_admin/layouts/nodes/stubs.rb', line 71

def initialize(type, **attributes)
  super(attributes)
  @attributes[:type] = type
end