diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-01 11:02:59 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-01 11:02:59 +0900 |
| commit | 05f377dee422d0d14ed7fda26b134a2dba8068b3 (patch) | |
| tree | e20d22a1d57303c850658de3115718ab2873a1f6 /mrbgems | |
| parent | 0c6353aa2cf8b002d2540c8b66db7d5af730f503 (diff) | |
| download | mruby-05f377dee422d0d14ed7fda26b134a2dba8068b3.tar.gz mruby-05f377dee422d0d14ed7fda26b134a2dba8068b3.zip | |
Use `__send__` instead of `send`.
Diffstat (limited to 'mrbgems')
| -rw-r--r-- | mrbgems/mruby-proc-ext/mrblib/proc.rb | 2 |
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] |
