lib/zenlish/inflect/method_heading.rb in zenlish-0.2.05 vs lib/zenlish/inflect/method_heading.rb in zenlish-0.2.06
- old
+ new
@@ -1,20 +1,17 @@
+# frozen_string_literal: true
+
require_relative 'heading'
module Zenlish
module Inflect
class MethodHeading < Heading
-
- def initialize(aLabel)
- super(aLabel)
- end
-
def evaluate_for(aFeatureBearer)
aFeatureBearer.send(label)
end
def all_matches(aFeatureBearer)
[evaluate_for(aFeatureBearer)]
- end
+ end
end # class
end # module
end # module