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.



6
7
8
# File 'lib/zenlish/inflect/heading.rb', line 6

def initialize(aLabel)
  @label = aLabel
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



4
5
6
# File 'lib/zenlish/inflect/heading.rb', line 4

def label
  @label
end