[DOC] Clarify behavior of abort() with no argument

Since Ruby 2.7 it prints the message and backtrace of $!

Fixes [Bug #19578]
This commit is contained in:
Daniel DeLorme 2023-04-05 09:16:26 -04:00 committed by Jeremy Evans
parent 615a1bc470
commit 4b100f75d2
Notes: git 2023-04-05 14:37:27 +00:00

View File

@ -4365,7 +4365,8 @@ NORETURN(static VALUE f_abort(int c, const VALUE *a, VALUE _));
*
* Terminate execution immediately, effectively by calling
* <code>Kernel.exit(false)</code>. If _msg_ is given, it is written
* to STDERR prior to terminating.
* to STDERR prior to terminating. Otherwise, if an exception was raised,
* print its message and backtrace.
*/
static VALUE