Class: RubyUIAdmin::Menu::SectionItem
- Inherits:
-
Struct
- Object
- Struct
- RubyUIAdmin::Menu::SectionItem
- Defined in:
- lib/ruby_ui_admin/menu/builder.rb
Overview
A titled group of items.
Instance Attribute Summary collapse
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#items ⇒ Object
Returns the value of attribute items.
-
#label ⇒ Object
Returns the value of attribute label.
Instance Method Summary collapse
Instance Attribute Details
#icon ⇒ Object
Returns the value of attribute icon
22 23 24 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22 def icon @icon end |
#items ⇒ Object
Returns the value of attribute items
22 23 24 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22 def items @items end |
#label ⇒ Object
Returns the value of attribute label
22 23 24 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 22 def label @label end |
Instance Method Details
#type ⇒ Object
23 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 23 def type = :section |