From 5809b75019dd3a253bb0e45c37bbf0cca0400911 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 7 Dec 2023 16:09:09 +0000 Subject: [ruby/irb] Debugging command warning should not be specific to the `debug` command (https://github.com/ruby/irb/pull/806) https://github.com/ruby/irb/commit/b7b57311cc --- lib/irb/cmd/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irb/cmd/debug.rb') diff --git a/lib/irb/cmd/debug.rb b/lib/irb/cmd/debug.rb index 9eca964218..e236084ca4 100644 --- a/lib/irb/cmd/debug.rb +++ b/lib/irb/cmd/debug.rb @@ -31,7 +31,7 @@ module IRB # 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 -- cgit v1.2.3