From 7a23e865880658d90a459c1709a00815734eabd9 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 7 Mar 2008 10:18:18 +0000 Subject: [PATCH] fix rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/array.c b/array.c index 2eef3ed387..bf7777dbfd 100644 --- a/array.c +++ b/array.c @@ -1916,7 +1916,6 @@ take_items(VALUE obj, long n) * * a = [ 4, 5, 6 ] * b = [ 7, 8, 9 ] - * * [1,2,3].zip(a, b) #=> [[1, 4, 7], [2, 5, 8], [3, 6, 9]] * [1,2].zip(a,b) #=> [[1, 4, 7], [2, 5, 8]] * a.zip([1,2],[8]) #=> [[4,1,8], [5,2,nil], [6,nil,nil]] @@ -2847,7 +2846,7 @@ rb_ary_flatten_bang(int argc, VALUE *argv, VALUE ary) * s = [ 1, 2, 3 ] #=> [1, 2, 3] * t = [ 4, 5, 6, [7, 8] ] #=> [4, 5, 6, [7, 8]] * a = [ s, t, 9, 10 ] #=> [[1, 2, 3], [4, 5, 6, [7, 8]], 9, 10] - * a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10 + * a.flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] * a = [ 1, 2, [3, [4, 5] ] ] * a.flatten(1) #=> [1, 2, 3, [4, 5]] */