ruby-changes:22445
From: akr <ko1@a...>
Date: Thu, 9 Feb 2012 00:45:04 +0900 (JST)
Subject: [ruby-changes:22445] akr:r34494 (trunk): update doc.
akr 2012-02-09 00:44:41 +0900 (Thu, 09 Feb 2012) New Revision: 34494 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34494 Log: update doc. Modified files: trunk/enum.c Index: enum.c =================================================================== --- enum.c (revision 34493) +++ enum.c (revision 34494) @@ -445,7 +445,7 @@ * * If no block is given, an enumerator is returned instead. * - * [[1, 2], [3, 4]].flat_map { |i| i } #=> [1, 2, 3, 4] + * [[1, 2], [3, 4]].flat_map { |e| e + [100] } #=> [1, 2, 100, 3, 4, 100] * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/