Sha256: 49ba3f7fae84dd6b5bc796be92642809a31c8f56fad07ec25966172a6afacb2d
Contents?: true
Size: 307 Bytes
Versions: 8
Compression:
Stored size: 307 Bytes
Contents
# frozen_string_literal: true module BooleanCombinator def evaluate(evaluator, args) if args.is_a? Array return combine(evaluator, args) end nil end # @abstract method def combine(evaluator, args) raise NotImplementedError.new("You must implement combine method.") end end
Version data entries
8 entries across 8 versions & 1 rubygems