Class: Zenlish::Inflect::FeatureHeading
- Defined in:
- lib/zenlish/inflect/feature_heading.rb
Instance Attribute Summary
Attributes inherited from Heading
Instance Method Summary collapse
- #evaluate_for(aFeatureBearer) ⇒ Object
-
#initialize(aLabel) ⇒ FeatureHeading
constructor
A new instance of FeatureHeading.
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 |