From 16e388863afef7616c7272d779f8cb7abc478992 Mon Sep 17 00:00:00 2001 From: dearblue Date: Wed, 24 Nov 2021 23:35:42 +0900 Subject: Fixed some methods where keyword arguments are not passed --- mrbgems/mruby-proc-ext/mrblib/proc.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mrbgems/mruby-proc-ext') 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 -- cgit v1.2.3