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:
parent
fc018c9b34
commit
de25f35c98
1 changed files with 1 additions and 1 deletions
2
enum.c
2
enum.c
|
@ -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]
|
||||
*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Reference in a new issue