lib/checkoff/internal/selector_classes/common.rb in checkoff-0.178.0 vs lib/checkoff/internal/selector_classes/common.rb in checkoff-0.179.0

- old
+ new

@@ -31,14 +31,13 @@ def matches? fn?(selector, FUNCTION_NAME) end # @param _resource [Asana::Resources::Task,Asana::Resources::Project] - # @param lhs [Object] - # @param rhs [Object] - # @return [Object] - def evaluate(_resource, lhs, rhs) - lhs || rhs + # @param args [Array<Object>] + # @return [Boolean] + def evaluate(_resource, *args) + args.any? { |arg| arg } end end # :not function class NotFunctionEvaluator < FunctionEvaluator