Class: RubyUIAdmin::Menu::LinkItem
- Inherits:
-
Struct
- Object
- Struct
- RubyUIAdmin::Menu::LinkItem
- Defined in:
- lib/ruby_ui_admin/menu/builder.rb
Overview
A leaf linking to an arbitrary path.
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label
12 13 14 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 12 def label @label end |
#path ⇒ Object
Returns the value of attribute path
12 13 14 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 12 def path @path end |
Instance Method Details
#type ⇒ Object
13 |
# File 'lib/ruby_ui_admin/menu/builder.rb', line 13 def type = :link |