diff options
Diffstat (limited to 'lib/irb/command/internal_helpers.rb')
-rw-r--r-- | lib/irb/command/internal_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/command/internal_helpers.rb b/lib/irb/command/internal_helpers.rb index 249b5cdede..a01ddb1d45 100644 --- a/lib/irb/command/internal_helpers.rb +++ b/lib/irb/command/internal_helpers.rb @@ -19,7 +19,7 @@ module IRB # 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 |