ruby-changes:40143
From: nobu <ko1@a...>
Date: Fri, 23 Oct 2015 00:19:23 +0900 (JST)
Subject: [ruby-changes:40143] nobu:r52224 (trunk): adjust spaces [ci skip]
nobu 2015-10-23 00:19:06 +0900 (Fri, 23 Oct 2015) New Revision: 52224 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52224 Log: adjust spaces [ci skip] * array.c (rb_ary_collect): [DOC] Fix space of code example of Array#map. [Fix GH-1062] Modified files: trunk/ChangeLog trunk/array.c Index: array.c =================================================================== --- array.c (revision 52223) +++ array.c (revision 52224) @@ -2721,9 +2721,9 @@ rb_ary_sort_by_bang(VALUE ary) https://github.com/ruby/ruby/blob/trunk/array.c#L2721 * If no block is given, an Enumerator is returned instead. * * a = [ "a", "b", "c", "d" ] - * a.collect { |x| x + "!" } #=> ["a!", "b!", "c!", "d!"] - * a.map.with_index{ |x, i| x * i } #=> ["", "b", "cc", "ddd"] - * a #=> ["a", "b", "c", "d"] + * a.collect { |x| x + "!" } #=> ["a!", "b!", "c!", "d!"] + * a.map.with_index { |x, i| x * i } #=> ["", "b", "cc", "ddd"] + * a #=> ["a", "b", "c", "d"] */ static VALUE Index: ChangeLog =================================================================== --- ChangeLog (revision 52223) +++ ChangeLog (revision 52224) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Fri Oct 23 00:19:04 2015 yui-knk <spiketeika@g...> + + * array.c (rb_ary_collect): [DOC] Fix space of code example of + Array#map. [Fix GH-1062] + Thu Oct 22 18:52:53 2015 Akinori MUSHA <knu@i...> * vm_eval.c (rb_f_loop): When a loop is stopped by a StopIteration -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/