Class: Wizport::Section
- Inherits:
-
Object
- Object
- Wizport::Section
- Defined in:
- lib/wizport/engine/section.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
Returns the value of attribute group.
-
#sub ⇒ Object
Returns the value of attribute sub.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(options) ⇒ Section
constructor
A new instance of Section.
Constructor Details
#initialize(options) ⇒ Section
Returns a new instance of Section.
10 11 12 13 |
# File 'lib/wizport/engine/section.rb', line 10 def initialize() @group = [:group] @title = [:title] end |
Instance Attribute Details
#group ⇒ Object
Returns the value of attribute group.
8 9 10 |
# File 'lib/wizport/engine/section.rb', line 8 def group @group end |
#sub ⇒ Object
Returns the value of attribute sub.
8 9 10 |
# File 'lib/wizport/engine/section.rb', line 8 def sub @sub end |
#title ⇒ Object
Returns the value of attribute title.
8 9 10 |
# File 'lib/wizport/engine/section.rb', line 8 def title @title end |