Skip to content

Commit

Permalink
[ruby/irb] Debugging command warning should not be specific to the
Browse files Browse the repository at this point in the history
  • Loading branch information
st0012 authored and matzbot committed Dec 7, 2023
1 parent c05278e commit 5809b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/cmd/debug.rb
Expand Up @@ -31,7 +31,7 @@ def execute(pre_cmds: nil, do_cmds: nil)
# 4. Exit the current Irb#run call via `throw :IRB_EXIT`.
# 5. `Irb#debug_break` will be called and trigger the breakpoint, which will run the intended command.
unless binding_irb?
puts "`debug` command is only available when IRB is started with binding.irb"
puts "Debugging commands are only available when IRB is started with binding.irb"
return
end

Expand Down

0 comments on commit 5809b75

Please sign in to comment.