diff --git a/enum.c b/enum.c index dae3d47f9a..bbb02dcb9a 100644 --- a/enum.c +++ b/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] * */