lib/checkoff/internal/selector_classes/common.rb in checkoff-0.64.1 vs lib/checkoff/internal/selector_classes/common.rb in checkoff-0.65.0

- old
+ new

@@ -12,14 +12,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.all? { |arg| arg } end end # :or function #