Sha256: 367a67dbc1068c9573557465732e88142b2438b202539e9b4933c898849931df
Contents?: true
Size: 467 Bytes
Versions: 6
Compression:
Stored size: 467 Bytes
Contents
require_relative 'atomic_o_expression' module Zenlish module Inflect class InputAsIs < AtomicOExpression attr_reader :formal def initialize(anArgument) @formal = anArgument end def generate(headings, lexeme, actuals) if actuals.empty? hd = headings[formal.index] hd.evaluate_for(lexeme) else actuals[formal.index] end end end # class end # module end # module
Version data entries
6 entries across 6 versions & 1 rubygems