Class: EasyAdmin::Layouts::Nodes::Panel
- 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
-
#initialize(title, **attributes) ⇒ Panel
constructor
A new instance of Panel.
Methods inherited from BaseNode
#[], #[]=, #accept, #add_child, #children?, #node_type, #visible?
Constructor Details
#initialize(title, **attributes) ⇒ Panel
Returns a new instance of Panel.
22 23 24 25 |
# File 'lib/easy_admin/layouts/nodes/stubs.rb', line 22 def initialize(title, **attributes) super(attributes) @attributes[:title] = title end |