summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-proc-ext/mrblib/proc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrbgems/mruby-proc-ext/mrblib/proc.rb')
-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