Class: Zenlish::Inflect::Heading
- Inherits:
-
Object
- Object
- Zenlish::Inflect::Heading
- Defined in:
- lib/zenlish/inflect/heading.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(aLabel) ⇒ Heading
constructor
A new instance of Heading.
Constructor Details
#initialize(aLabel) ⇒ Heading
Returns a new instance of Heading.
9 10 11 |
# File 'lib/zenlish/inflect/heading.rb', line 9 def initialize(aLabel) @label = aLabel end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
7 8 9 |
# File 'lib/zenlish/inflect/heading.rb', line 7 def label @label end |