module Bogus::ProxiesMethodCalls

Public Instance Methods

proxy(method_name) click to toggle source
# File lib/bogus/proxies_method_calls.rb, line 3
def proxy(method_name)
  MethodCallProxy.new do |name, *args, &return_value|
    __send__(method_name, name, *args, &return_value)
  end
end