Class: RubyUIAdmin::Structure::Panel
- Inherits:
-
Object
- Object
- RubyUIAdmin::Structure::Panel
- Defined in:
- lib/ruby_ui_admin/structure.rb
Instance Attribute Summary collapse
-
#items ⇒ Object
readonly
Returns the value of attribute items.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name = nil) ⇒ Panel
constructor
A new instance of Panel.
Constructor Details
#initialize(name = nil) ⇒ Panel
Returns a new instance of Panel.
11 12 13 14 |
# File 'lib/ruby_ui_admin/structure.rb', line 11 def initialize(name = nil) @name = name @items = [] end |
Instance Attribute Details
#items ⇒ Object (readonly)
Returns the value of attribute items.
9 10 11 |
# File 'lib/ruby_ui_admin/structure.rb', line 9 def items @items end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
9 10 11 |
# File 'lib/ruby_ui_admin/structure.rb', line 9 def name @name end |