Class: Doing::Section
- Inherits:
-
Object
- Object
- Doing::Section
- Defined in:
- lib/doing/section.rb
Overview
Section Object
Instance Attribute Summary collapse
-
#original ⇒ Object
Returns the value of attribute original.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, original: nil) ⇒ Section
constructor
A new instance of Section.
-
#to_s ⇒ Object
Outputs section title.
Constructor Details
#initialize(title, original: nil) ⇒ Section
Returns a new instance of Section.
Instance Attribute Details
#original ⇒ Object
Returns the value of attribute original.
#title ⇒ Object
Returns the value of attribute title.
Instance Method Details
#to_s ⇒ Object
Outputs section title