From 77a952d1fb140b748debe142b1a408b89abdf409 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 22 Oct 2015 15:19:06 +0000 Subject: adjust spaces [ci skip] * array.c (rb_ary_collect): [DOC] Fix space of code example of Array#map. [Fix GH-1062] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 44eaa20cfe..2faa315397 100644 --- a/array.c +++ b/array.c @@ -2721,9 +2721,9 @@ rb_ary_sort_by_bang(VALUE ary) * 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 -- cgit v1.2.3