diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Tue Oct 4 07:43:18 2011 Eric Hodel <drbrain@segment7.net> + + * array.c (rb_ary_initalize): Make Array.new description match + call-seq. Patch by Henry Maddocks. [Ruby 1.9 - Bug #5344] + Tue Oct 4 07:35:23 2011 Eric Hodel <drbrain@segment7.net> * array.c (rb_ary_initialize): Add output for examples. Patch by @@ -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 |