Class: Zenlish::Inflect::Heading

Inherits:
Object
  • Object
show all
Defined in:
lib/zenlish/inflect/heading.rb

Direct Known Subclasses

FeatureHeading, MethodHeading

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aLabel) ⇒ Heading

Returns a new instance of Heading.



11
12
13
# File 'lib/zenlish/inflect/heading.rb', line 11

def initialize(aLabel)
  @label = aLabel
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



9
10
11
# File 'lib/zenlish/inflect/heading.rb', line 9

def label
  @label
end