mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Added Exception.exception to Exception.new [ci skip]
This commit is contained in:
parent
cf1ee151b1
commit
a447563cf8
1 changed files with 2 additions and 1 deletions
3
error.c
3
error.c
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue