method

matches?

rspec latest stable - Class: Spec::Matchers::Matcher
matches?(actual)
public

Used internally by objects returns by should and should_not.