lib/irb/command/internal_helpers.rb in irb-1.14.1 vs lib/irb/command/internal_helpers.rb in irb-1.14.2

- old
+ new

@@ -17,10 +17,10 @@ def ruby_args(arg) # Use throw and catch to handle arg that includes `;` # For example: "1, kw: (2; 3); 4" will be parsed to [[1], { kw: 3 }] catch(:EXTRACT_RUBY_ARGS) do - @irb_context.workspace.binding.eval "IRB::Command.extract_ruby_args #{arg}" + @irb_context.workspace.binding.eval "::IRB::Command.extract_ruby_args #{arg}" end || [[], {}] end end end end