summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-09-01 11:02:59 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-09-01 11:02:59 +0900
commit05f377dee422d0d14ed7fda26b134a2dba8068b3 (patch)
treee20d22a1d57303c850658de3115718ab2873a1f6
parent0c6353aa2cf8b002d2540c8b66db7d5af730f503 (diff)
downloadmruby-05f377dee422d0d14ed7fda26b134a2dba8068b3.tar.gz
mruby-05f377dee422d0d14ed7fda26b134a2dba8068b3.zip
Use `__send__` instead of `send`.
-rw-r--r--mrbgems/mruby-proc-ext/mrblib/proc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-proc-ext/mrblib/proc.rb b/mrbgems/mruby-proc-ext/mrblib/proc.rb
index b71663938..789b7a3ac 100644
--- a/mrbgems/mruby-proc-ext/mrblib/proc.rb
+++ b/mrbgems/mruby-proc-ext/mrblib/proc.rb
@@ -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]