Class: Merrymenu::Configure
- Inherits:
-
Object
- Object
- Merrymenu::Configure
- Defined in:
- lib/merrymenu/builder.rb
Instance Attribute Summary collapse
-
#menus ⇒ Object
Returns the value of attribute menus.
Instance Method Summary collapse
- #configure {|menu| ... } ⇒ Object
-
#initialize ⇒ Configure
constructor
A new instance of Configure.
Constructor Details
#initialize ⇒ Configure
Returns a new instance of Configure.
6 7 8 |
# File 'lib/merrymenu/builder.rb', line 6 def initialize @menus = {} end |
Instance Attribute Details
#menus ⇒ Object
Returns the value of attribute menus.
4 5 6 |
# File 'lib/merrymenu/builder.rb', line 4 def @menus end |