Class: ViewComponent::MenuItem
- Inherits:
-
Struct
- Object
- Struct
- ViewComponent::MenuItem
- Defined in:
- app/helpers/view_component/menu_item.rb
Instance Attribute Summary collapse
-
#extra_classes ⇒ Object
Returns the value of attribute extra_classes.
-
#label ⇒ Object
Returns the value of attribute label.
-
#options ⇒ Object
Returns the value of attribute options.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Attribute Details
#extra_classes ⇒ Object
Returns the value of attribute extra_classes
4 5 6 |
# File 'app/helpers/view_component/menu_item.rb', line 4 def extra_classes @extra_classes end |
#label ⇒ Object
Returns the value of attribute label
4 5 6 |
# File 'app/helpers/view_component/menu_item.rb', line 4 def label @label end |
#options ⇒ Object
Returns the value of attribute options
4 5 6 |
# File 'app/helpers/view_component/menu_item.rb', line 4 def end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'app/helpers/view_component/menu_item.rb', line 4 def type @type end |
#url ⇒ Object
Returns the value of attribute url
4 5 6 |
# File 'app/helpers/view_component/menu_item.rb', line 4 def url @url end |