class RSpec::Matchers::BuiltIn::DynamicPredicate

def really_responds_to?(method)

def really_responds_to?(method)
  if RSpec::Mocks::Double === @actual
    @actual.respond_to?(method) && methods_include?(method)
  else
    @actual.respond_to?(method)
  end
end