Class: GatherContent::DSL::Section
- Inherits:
-
Object
- Object
- GatherContent::DSL::Section
- Defined in:
- lib/gather_content/dsl/section.rb
Instance Method Summary collapse
-
#initialize(tab) ⇒ Section
constructor
A new instance of Section.
- #name(name) ⇒ Object
- #subtitle(subtitle) ⇒ Object
- #title(title) ⇒ Object
Constructor Details
Instance Method Details
#name(name) ⇒ Object
11 12 13 |
# File 'lib/gather_content/dsl/section.rb', line 11 def name(name) @section.name = name end |
#subtitle(subtitle) ⇒ Object
19 20 21 |
# File 'lib/gather_content/dsl/section.rb', line 19 def subtitle(subtitle) @section.subtitle = subtitle end |
#title(title) ⇒ Object
15 16 17 |
# File 'lib/gather_content/dsl/section.rb', line 15 def title(title) @section.title = title end |