lib/axiom/function/predicate/inclusion.rb in axiom-0.1.1 vs lib/axiom/function/predicate/inclusion.rb in axiom-0.2.0
- old
+ new
@@ -20,10 +20,10 @@
#
# @return [Boolean]
#
# @api public
def self.call(left, right)
- right.send(Enumerable.compare_method(right), left)
+ right.public_send(Enumerable.compare_method(right), left)
end
# Return the inverse predicate class
#
# @example