Class: SectionDef
- Inherits:
-
Object
- Object
- SectionDef
- Defined in:
- lib/coursegen/course/data/section_def.rb
Overview
Sidebar configuration
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#selector ⇒ Object
Returns the value of attribute selector.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, selector, options = {}) ⇒ SectionDef
constructor
A new instance of SectionDef.
Constructor Details
#initialize(title, selector, options = {}) ⇒ SectionDef
Returns a new instance of SectionDef.
5 6 7 8 9 |
# File 'lib/coursegen/course/data/section_def.rb', line 5 def initialize(title, selector, = {}) @title = title @selector = selector @options = end |
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
4 5 6 |
# File 'lib/coursegen/course/data/section_def.rb', line 4 def @options end |
#selector ⇒ Object
Returns the value of attribute selector.
4 5 6 |
# File 'lib/coursegen/course/data/section_def.rb', line 4 def selector @selector end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/coursegen/course/data/section_def.rb', line 4 def title @title end |