summaryrefslogtreecommitdiff
path: root/array.c
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-03 22:43:59 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-10-03 22:43:59 +0000
commitb4d3400ed64aa5b6fe1be522a254c22206f755c5 (patch)
tree1fa4445fa1d7d8541b9461d4212520324e7321b0 /array.c
parentcb014763c6c38e282f6f4528f8104ed9048fe4b8 (diff)
* array.c (rb_ary_initalize): Make Array.new description match
call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'array.c')
-rw-r--r--array.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/array.c b/array.c
index 334144ded6..56b57b7b23 100644
--- a/array.c
+++ b/array.c
@@ -507,9 +507,9 @@ rb_ary_s_try_convert(VALUE dummy, VALUE ary)
* Array.new(size) {|index| block }
*
* Returns a new array. In the first form, the new array is
- * empty. In the second it is created with _size_ copies of _obj_
- * (that is, _size_ references to the same
- * _obj_). The third form creates a copy of the array
+ * empty, or it is created with _size_ copies of _obj_ (that is,
+ * _size_ references to the same _obj_).
+ * The second form creates a copy of the array
* passed as a parameter (the array is generated by calling
* to_ary on the parameter). In the last form, an array
* of the given size is created. Each element in this array is