Class: Rlocu::Menu
- Inherits:
-
Object
- Object
- Rlocu::Menu
- Defined in:
- lib/rlocu/menu.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#sections ⇒ Object
Returns the value of attribute sections.
Instance Method Summary collapse
-
#initialize(meta_menu) ⇒ Menu
constructor
A new instance of Menu.
Constructor Details
#initialize(meta_menu) ⇒ Menu
Returns a new instance of Menu.
6 7 8 9 |
# File 'lib/rlocu/menu.rb', line 6 def initialize() @name = ['menu_name'] self.sections = ['sections'] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/rlocu/menu.rb', line 3 def name @name end |
#sections ⇒ Object
Returns the value of attribute sections.
4 5 6 |
# File 'lib/rlocu/menu.rb', line 4 def sections @sections end |