ruby-changes:41737
From: nobu <ko1@a...>
Date: Fri, 12 Feb 2016 12:21:03 +0900 (JST)
Subject: [ruby-changes:41737] nobu:r53811 (trunk): error.c: fix doc [ci skip]
nobu 2016-02-12 12:21:17 +0900 (Fri, 12 Feb 2016) New Revision: 53811 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53811 Log: 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. Modified files: trunk/ChangeLog trunk/error.c Index: error.c =================================================================== --- error.c (revision 53810) +++ error.c (revision 53811) @@ -1127,7 +1127,7 @@ rb_name_error_str(VALUE str, const char https://github.com/ruby/ruby/blob/trunk/error.c#L1127 /* * 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) https://github.com/ruby/ruby/blob/trunk/error.c#L1192 /* * 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 Index: ChangeLog =================================================================== --- ChangeLog (revision 53810) +++ ChangeLog (revision 53811) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Feb 12 12:20:56 2016 Nobuyoshi Nakada <nobu@r...> + + * error.c (name_err_initialize, nometh_err_initialize): [DOC] fix + argument positions. optional parameters except for the message + are placed at the last. + Fri Feb 12 11:49:49 2016 Anthony Dmitriyev <antstorm@g...> * net/ftp.rb: add NullSocket#closed? to fix closing not opened -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/