diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-16 15:06:14 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-16 15:06:14 +0000 |
commit | 400e5e332e4e98ee50c272146db514526887993b (patch) | |
tree | 3e9ecb5244881331440c436568774afda123f617 /error.c | |
parent | 2af66d34f7ce3531334c9c912306b17935857a4b (diff) |
[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
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. */ |