summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext
diff options
context:
space:
mode:
authordearblue <[email protected]>2021-11-24 23:35:42 +0900
committerdearblue <[email protected]>2021-11-24 23:35:42 +0900
commit16e388863afef7616c7272d779f8cb7abc478992 (patch)
treeef93a007a11e728118f01432c16c71506c336241 /mrbgems/mruby-proc-ext
parentd6e1114f71927e34bda05544d548edaa411f583f (diff)
downloadmruby-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.rb4
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