module Proxies::ProxyRespondTo

Public Instance Methods

proxy_respond_to?(method) click to toggle source
# File lib/proxies/proxy.rb, line 7
def proxy_respond_to?(method)
  this = self
  this = this # suppress a warning message
  !!::Kernel.eval("defined?(this.#{method})")
end