This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

curry

        # Method.curry

(from ruby core)
---
    meth.curry        -> proc
    meth.curry(arity) -> proc

---

Returns a curried proc based on the method. When the proc is called with
a number of arguments that is lower than the method's arity, then
another curried proc is returned. Only when enough arguments have been
supplied to satisfy the method signature, will the method actually be
called.

The optional *arity* argument should be supplied when currying methods
with variable arguments to determine how many arguments are needed
before the method is called.

    def foo(a,b,c)
      [a, b, c]
    end

    proc  = self.method(:foo).curry
    proc2 = proc.call(1, 2)          #=> #<Proc>
    proc2.call(3)                    #=> [1,2,3]

    def vararg(*args)
      args
    end

    proc = self.method(:vararg).curry(4)
    proc2 = proc.call(:x)      #=> #<Proc>
    proc3 = proc2.call(:y, :z) #=> #<Proc>
    proc3.call(:a)             #=> [:x, :y, :z, :a]



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.