Class: XlsFunction::Evaluators::BinaryOperationEvaluator

Inherits:
FunctionEvaluator show all
Defined in:
lib/xls_function/evaluators/binary_operation_evaluator.rb

Class Method Summary collapse

Methods inherited from FunctionEvaluator

#arg_list, #before_eval, #convert_to, #detect_error, #error?, #error_message, #eval_arglist, #eval_or_map_eval, #evaluate, #evaluate_or_self, #initialize, #map_eval, to_h, #to_proc, to_proc, translated_description, #variant_context

Methods included from ClassDictionary

included

Methods included from ErrorDetector

#class_info, #class_name, included, #rescue_with

Methods included from ArgumentsDefinable

included

Methods included from Evaluable

#evaluate, included

Constructor Details

This class inherits a constructor from XlsFunction::Evaluators::FunctionEvaluator

Class Method Details

.create(left, right, context) ⇒ Object



10
11
12
# File 'lib/xls_function/evaluators/binary_operation_evaluator.rb', line 10

def create(left, right, context)
  new(context.merge(arglist: [left, right]))
end