aboutsummaryrefslogtreecommitdiffstats
path: root/array.c
diff options
context:
space:
mode:
authorktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-17 01:34:20 +0000
committerktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-03-17 01:34:20 +0000
commite4811dc6976534e790e2b588521c1d273419c83a (patch)
tree95acfd357756bc511607f821e9ea232d3b324d62 /array.c
parent326dd6e0ccb98141ef8578d429d113e8f714b4c6 (diff)
downloadruby-e4811dc6976534e790e2b588521c1d273419c83a.tar.gz
* array.c: fix rdoc. [ruby-core:53485] [ruby-trunk - Bug #8108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/array.c b/array.c
index 77807a55de..28a7ec5766 100644
--- a/array.c
+++ b/array.c
@@ -5226,7 +5226,7 @@ rb_ary_drop_while(VALUE ary)
*
* ary = Array.new #=> []
* Array.new(3) #=> [nil, nil, nil]
- * Array.new(3, true) #=> [0, 0, 0]
+ * Array.new(3, true) #=> [true, true, true]
*
* Note that the second argument populates the array with references to the
* same object. Therefore, it is only recommended in cases when you need to