mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[DOC] Update doc of NameError.new [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2af66d34f7
commit
400e5e332e
1 changed files with 2 additions and 1 deletions
3
error.c
3
error.c
|
@ -1446,9 +1446,10 @@ name_err_init_attr(VALUE exc, VALUE recv, VALUE method)
|
|||
/*
|
||||
* call-seq:
|
||||
* NameError.new(msg [, name]) -> name_error
|
||||
* NameError.new(msg [, name], receiver:) -> name_error
|
||||
*
|
||||
* Construct a new NameError exception. If given the <i>name</i>
|
||||
* parameter may subsequently be examined using the <code>NameError.name</code>
|
||||
* parameter may subsequently be examined using the <code>NameError#name</code>
|
||||
* method.
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue