[DOC] Added Exception.exception to Exception.new [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-06-18 09:00:34 +09:00
parent cf1ee151b1
commit a447563cf8
No known key found for this signature in database
GPG Key ID: 7CD2805BFA3770C6

View File

@ -1003,7 +1003,8 @@ exc_init(VALUE exc, VALUE mesg)
/*
* call-seq:
* Exception.new(msg = nil) -> exception
* Exception.new(msg = nil) -> exception
* Exception.exception(msg = nil) -> exception
*
* Construct a new Exception object, optionally passing in
* a message.