class UnboundMethod

Public Instance Methods

call(obj, *args, &block) click to toggle source

Calls this method on obj with the args and block arguments. This allows to have an uniform way to call methods on objects

# File lib/utilrb/unbound_method/call.rb, line 4
def call(obj, *args, &block)
    bind(obj).call(*args, &block)
end