class Spec::Runner::Configuration

def predicate_matchers


person.should swim # passes if person.can_swim? returns true

This makes it possible to say:

config.predicate_matchers[:swim] = :can_swim?

Defines global predicate matchers. Example:

DEPRECATED - use Spec::Matchers::DSL instead
def predicate_matchers
  @predicate_matchers ||= Spec::HashWithDeprecationNotice.new("predicate_matchers", "the new Matcher DSL")
end