class RSpec::Matchers::BuiltIn::DynamicPredicate

def matches?(actual, &block)

Other tags:
    Private: -
def matches?(actual, &block)
  @actual = actual
  @block ||= block
  predicate_accessible? && predicate_matches?
end