method
target_responds_to?
target_responds_to?(sym)
private
Hide source
# File lib/spec/mocks/proxy.rb, line 147 def target_responds_to?(sym) return @target.__send__(munge(:respond_to?),sym) if @already_proxied_respond_to return @already_proxied_respond_to = true if sym == :respond_to? return @target.respond_to?(sym, true) end