Class: Zenlish::Inflect::FeatureHeading

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

Instance Attribute Summary

Attributes inherited from Heading

#label

Instance Method Summary collapse

Constructor Details

#initialize(aLabel) ⇒ FeatureHeading

Returns a new instance of FeatureHeading.



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

def initialize(aLabel)
  super(aLabel)
end

Instance Method Details

#evaluate_for(aFeatureBearer) ⇒ Object



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

def evaluate_for(aFeatureBearer)
  aFeatureBearer[label]
end