Class: XlsFunction::Evaluators::BinaryOperationEvaluator
- Inherits:
-
FunctionEvaluator
- Object
- FunctionEvaluator
- XlsFunction::Evaluators::BinaryOperationEvaluator
- Defined in:
- lib/xls_function/evaluators/binary_operation_evaluator.rb
Direct Known Subclasses
XlsFunction::Evaluators::BinaryOperations::Add, XlsFunction::Evaluators::BinaryOperations::Concat, XlsFunction::Evaluators::BinaryOperations::Divide, XlsFunction::Evaluators::BinaryOperations::Equal, XlsFunction::Evaluators::BinaryOperations::GreaterThan, XlsFunction::Evaluators::BinaryOperations::GreaterThanOrEqualTo, XlsFunction::Evaluators::BinaryOperations::LessThan, XlsFunction::Evaluators::BinaryOperations::LessThanOrEqualTo, XlsFunction::Evaluators::BinaryOperations::Multiple, XlsFunction::Evaluators::BinaryOperations::NotEqual, XlsFunction::Evaluators::BinaryOperations::Power, XlsFunction::Evaluators::BinaryOperations::Subtract
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
Methods included from ErrorDetector
#class_info, #class_name, included, #rescue_with
Methods included from ArgumentsDefinable
Methods included from Evaluable
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 |