Class: Merrymenu::Tabs
- Inherits:
-
Object
- Object
- Merrymenu::Tabs
- Defined in:
- lib/merrymenu/builder.rb
Instance Attribute Summary collapse
-
#tabs ⇒ Object
Returns the value of attribute tabs.
Instance Method Summary collapse
- #build ⇒ Object
-
#initialize ⇒ Tabs
constructor
A new instance of Tabs.
- #tab(name, url, options = {}) ⇒ Object
Constructor Details
#initialize ⇒ Tabs
Returns a new instance of Tabs.
41 42 43 |
# File 'lib/merrymenu/builder.rb', line 41 def initialize @tabs = [] end |
Instance Attribute Details
#tabs ⇒ Object
Returns the value of attribute tabs.
39 40 41 |
# File 'lib/merrymenu/builder.rb', line 39 def tabs @tabs end |