Class: Zenlish::Inflect::MethodHeading
- Defined in:
- lib/zenlish/inflect/method_heading.rb
Instance Attribute Summary
Attributes inherited from Heading
Instance Method Summary collapse
- #evaluate_for(aFeatureBearer) ⇒ Object
-
#initialize(aLabel) ⇒ MethodHeading
constructor
A new instance of MethodHeading.
Constructor Details
#initialize(aLabel) ⇒ MethodHeading
Returns a new instance of MethodHeading.
7 8 9 |
# File 'lib/zenlish/inflect/method_heading.rb', line 7 def initialize(aLabel) super(aLabel) end |
Instance Method Details
#evaluate_for(aFeatureBearer) ⇒ Object
11 12 13 |
# File 'lib/zenlish/inflect/method_heading.rb', line 11 def evaluate_for(aFeatureBearer) aFeatureBearer.send(label) end |