diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-12 03:21:17 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-02-12 03:21:17 +0000 |
commit | 6bbe44a39a1c4604a6d72e48f9a412bf30ee9feb (patch) | |
tree | 45c782bf1e83cef9300d0575bc78ee76ffd767cb /error.c | |
parent | 0a19e7f0a3fa1be6d31a702f0bf39477c1b16f0a (diff) |
error.c: fix doc [ci skip]
* error.c (name_err_initialize, nometh_err_initialize): [DOC] fix
argument positions. optional parameters except for the message
are placed at the last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1127,7 +1127,7 @@ rb_name_error_str(VALUE str, const char *fmt, ...) /* * call-seq: - * NameError.new(msg [, name]) -> name_error + * NameError.new([msg, *, name]) -> name_error * * Construct a new NameError exception. If given the <i>name</i> * parameter may subsequently be examined using the <code>NameError.name</code> @@ -1192,7 +1192,7 @@ name_err_local_variables(VALUE self) /* * call-seq: - * NoMethodError.new(msg, name [, args]) -> no_method_error + * NoMethodError.new([msg, *, name [, args]]) -> no_method_error * * Construct a NoMethodError exception for a method of the given name * called with the given arguments. The name may be accessed using |