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.



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

def initialize(aLabel)
  @label = aLabel
end

Instance Attribute Details

#labelObject (readonly)

Returns the value of attribute label.



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

def label
  @label
end