1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

update doc.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2012-02-08 15:44:41 +00:00
parent fc018c9b34
commit de25f35c98

2
enum.c
View file

@ -445,7 +445,7 @@ flat_map_i(VALUE i, VALUE ary, int argc, VALUE *argv)
*
* 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]
*
*/