Skip to content

Commit 8a721ae

Browse files
committed
Fix for Ruby <= 2.6
1 parent a19e3f3 commit 8a721ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iruby/backend.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def complete(code)
6565
def init_main_object(main)
6666
wrapper_module = Module.new
6767
main.extend(wrapper_module)
68-
main.define_singleton_method(:include) do |*args, **kwargs|
69-
wrapper_module.include(*args, **kwargs)
68+
main.define_singleton_method(:include) do |*args|
69+
wrapper_module.include(*args)
7070
end
7171
end
7272
end

0 commit comments

Comments
 (0)