[ruby/irb] Debugging command warning should not be specific to the

`debug` command
(https://github.com/ruby/irb/pull/806)

b7b57311cc
This commit is contained in:
Stan Lo 2023-12-07 16:09:09 +00:00 committed by git
parent c05278e425
commit 5809b75019

View file

@ -31,7 +31,7 @@ module IRB
# 4. Exit the current Irb#run call via `throw :IRB_EXIT`. # 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. # 5. `Irb#debug_break` will be called and trigger the breakpoint, which will run the intended command.
unless binding_irb? 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 return
end end