Class: Rlocu::Subsection
- Inherits:
-
Object
- Object
- Rlocu::Subsection
- Defined in:
- lib/rlocu/menu.rb
Instance Attribute Summary collapse
-
#contents ⇒ Object
Returns the value of attribute contents.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(meta_subsection) ⇒ Subsection
constructor
A new instance of Subsection.
Constructor Details
#initialize(meta_subsection) ⇒ Subsection
Returns a new instance of Subsection.
38 39 40 41 |
# File 'lib/rlocu/menu.rb', line 38 def initialize() @name = ['subsection_name'] self.contents = ['contents'] end |
Instance Attribute Details
#contents ⇒ Object
Returns the value of attribute contents.
36 37 38 |
# File 'lib/rlocu/menu.rb', line 36 def contents @contents end |
#name ⇒ Object
Returns the value of attribute name.
35 36 37 |
# File 'lib/rlocu/menu.rb', line 35 def name @name end |