diff options
author | Daniel DeLorme <daniel@dan42.com> | 2023-04-05 09:16:26 -0400 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-04-05 07:37:07 -0700 |
commit | 4b100f75d2047de4f525f748fe8901471e8318ed (patch) | |
tree | 530140d46c51683acc94acea75acc395f5cac9be /process.c | |
parent | 615a1bc470587614129c8a7f352286cf9d1c0fc6 (diff) | |
download | ruby-4b100f75d2047de4f525f748fe8901471e8318ed.tar.gz |
[DOC] Clarify behavior of abort() with no argument
Since Ruby 2.7 it prints the message and backtrace of $!
Fixes [Bug #19578]
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |