summaryrefslogtreecommitdiffhomepage
path: root/mrblib
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 /mrblib
parentd6e1114f71927e34bda05544d548edaa411f583f (diff)
downloadmruby-16e388863afef7616c7272d779f8cb7abc478992.tar.gz
mruby-16e388863afef7616c7272d779f8cb7abc478992.zip
Fixed some methods where keyword arguments are not passed
Diffstat (limited to 'mrblib')
-rw-r--r--mrblib/symbol.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrblib/symbol.rb b/mrblib/symbol.rb
index 9c981dd9e..827e2c1e0 100644
--- a/mrblib/symbol.rb
+++ b/mrblib/symbol.rb
@@ -1,7 +1,7 @@
class Symbol
def to_proc
- ->(obj,*args,&block) do
- obj.__send__(self, *args, &block)
+ ->(obj,*args,**opts,&block) do
+ obj.__send__(self, *args, **opts, &block)
end
end
end