Use `__send__` instead of `send`.

parent 0c6353aa
......@@ -27,7 +27,7 @@ class Proc
pproc = self
make_curry = proc do |given_args=[]|
send(type) do |*args|
__send__(type) do |*args|
new_args = given_args + args
if new_args.size >= arity
pproc[*new_args]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment