method

refute_predicate

refute_predicate(o1, op, msg = nil)
public

For testing with predicates.

refute_predicate str, :empty?

This is really meant for specs and is front-ended by refute_operator:

str.wont_be :empty?