ruby-changes:51768
From: kazu <ko1@a...>
Date: Tue, 17 Jul 2018 00:06:19 +0900 (JST)
Subject: [ruby-changes:51768] kazu:r63980 (trunk): [DOC] Update doc of NameError.new [ci skip]
kazu 2018-07-17 00:06:14 +0900 (Tue, 17 Jul 2018) New Revision: 63980 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63980 Log: [DOC] Update doc of NameError.new [ci skip] Modified files: trunk/error.c Index: error.c =================================================================== --- error.c (revision 63979) +++ error.c (revision 63980) @@ -1446,9 +1446,10 @@ name_err_init_attr(VALUE exc, VALUE recv https://github.com/ruby/ruby/blob/trunk/error.c#L1446 /* * 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. */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/