lib/zenlish/inflect/function_call.rb in zenlish-0.2.05 vs lib/zenlish/inflect/function_call.rb in zenlish-0.2.06

- old
+ new

@@ -1,17 +1,20 @@ +# frozen_string_literal: true + require_relative 'atomic_o_expression' module Zenlish module Inflect class FunctionCall < AtomicOExpression attr_reader :mth_name def initialize(aMethodName) + super() @mth_name = aMethodName end def generate(_headings, lexeme, _values) lexeme.send(mth_name) end end # class end # module -end # module \ No newline at end of file +end # module