зеркало из https://github.com/github/ruby.git
[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:
Родитель
2af66d34f7
Коммит
400e5e332e
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.
|
||||
*/
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче