Class: Satis::Sidebar::Component
- Inherits:
-
ApplicationComponent
- Object
- ViewComponent::Base
- ApplicationComponent
- Satis::Sidebar::Component
- Defined in:
- app/components/satis/sidebar/component.rb
Instance Attribute Summary collapse
-
#menu ⇒ Object
readonly
Returns the value of attribute menu.
-
#menu_options ⇒ Object
readonly
Returns the value of attribute menu_options.
Attributes inherited from ApplicationComponent
Instance Method Summary collapse
-
#initialize(menu) ⇒ Component
constructor
A new instance of Component.
Methods inherited from ApplicationComponent
Constructor Details
#initialize(menu) ⇒ Component
Returns a new instance of Component.
11 12 13 14 |
# File 'app/components/satis/sidebar/component.rb', line 11 def initialize() super @menu = end |
Instance Attribute Details
#menu ⇒ Object (readonly)
Returns the value of attribute menu.
5 6 7 |
# File 'app/components/satis/sidebar/component.rb', line 5 def @menu end |
#menu_options ⇒ Object (readonly)
Returns the value of attribute menu_options.
5 6 7 |
# File 'app/components/satis/sidebar/component.rb', line 5 def @menu_options end |