summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-10 02:12:16 +0000
committerglass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-10 02:12:16 +0000
commit615a868b4bdd063789ddefa23e6220d07afc89df (patch)
tree543b3e6e76bd20cf88cb22e4d5f34cd70e61a7ee /enum.c
parent7f49c1dd63c39ee830563f09c9a2807b7c38d6d3 (diff)
Revert "capa"
It's my fault. This reverts commit 5e17fc6bc7cb8b0e58b05fa9ebf2c47ec73ecbb3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index fc49e96..69e753a 100644
--- a/enum.c
+++ b/enum.c
@@ -522,7 +522,7 @@ enum_to_a(int argc, VALUE *argv, VALUE obj)
ary = rb_ary_new();
}
else {
- ary = rb_ary_new_capa(NUM2LONG(size));
+ ary = rb_ary_new2(NUM2LONG(size));
}
=======
VALUE ary = rb_ary_new();