diff options
| author | dearblue <[email protected]> | 2021-11-24 23:35:42 +0900 |
|---|---|---|
| committer | dearblue <[email protected]> | 2021-11-24 23:35:42 +0900 |
| commit | 16e388863afef7616c7272d779f8cb7abc478992 (patch) | |
| tree | ef93a007a11e728118f01432c16c71506c336241 /mrbgems/mruby-proc-ext | |
| parent | d6e1114f71927e34bda05544d548edaa411f583f (diff) | |
| download | mruby-16e388863afef7616c7272d779f8cb7abc478992.tar.gz mruby-16e388863afef7616c7272d779f8cb7abc478992.zip | |
Fixed some methods where keyword arguments are not passed
Diffstat (limited to 'mrbgems/mruby-proc-ext')
| -rw-r--r-- | mrbgems/mruby-proc-ext/mrblib/proc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-proc-ext/mrblib/proc.rb b/mrbgems/mruby-proc-ext/mrblib/proc.rb index abe9c7944..3be0afbbc 100644 --- a/mrbgems/mruby-proc-ext/mrblib/proc.rb +++ b/mrbgems/mruby-proc-ext/mrblib/proc.rb @@ -40,11 +40,11 @@ class Proc end def <<(other) - ->(*args, &block) { call(other.call(*args, &block)) } + ->(*args, **opts, &block) { call(other.call(*args, **opts, &block)) } end def >>(other) - ->(*args, &block) { other.call(call(*args, &block)) } + ->(*args, **opts, &block) { other.call(call(*args, **opts, &block)) } end end |
