ruby-changes:39253
From: nobu <ko1@a...>
Date: Wed, 22 Jul 2015 09:45:38 +0900 (JST)
Subject: [ruby-changes:39253] nobu:r51334 (trunk): fix doc for Numeric#coerce [ci skip]
nobu 2015-07-22 09:45:33 +0900 (Wed, 22 Jul 2015) New Revision: 51334 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51334 Log: fix doc for Numeric#coerce [ci skip] * numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce, missing '+'. [Fix GH-974] Modified files: trunk/ChangeLog trunk/numeric.c Index: ChangeLog =================================================================== --- ChangeLog (revision 51333) +++ ChangeLog (revision 51334) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jul 22 09:45:31 2015 Maksim Sitnikov <sitnikovme@u...> + + * numeric.c (num_coerce): [DOC] fix doc for Numeric#coerce, + missing '+'. [Fix GH-974] + Wed Jul 22 07:24:18 2015 Koichi Sasada <ko1@a...> * make rb_iseq_t T_IMEMO object (type is imemo_iseq). Index: numeric.c =================================================================== --- numeric.c (revision 51333) +++ numeric.c (revision 51334) @@ -215,7 +215,7 @@ rb_num_negative_p(VALUE num) https://github.com/ruby/ruby/blob/trunk/numeric.c#L215 * call-seq: * num.coerce(numeric) -> array * - * If a +numeric is the same type as +num+, returns an array containing + * If a +numeric+ is the same type as +num+, returns an array containing * +numeric+ and +num+. Otherwise, returns an array with both a +numeric+ and * +num+ represented as Float objects. * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/