diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | array.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Jun 17 07:23:03 2011 Eric Hodel <drbrain@segment7.net> + + * array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods. + [Ruby 1.9 - Bug #4858] + Fri Jun 17 06:11:31 2011 Eric Hodel <drbrain@segment7.net> * lib/webrick/log.rb: Improve documentation of BasicLog and Log. @@ -4553,8 +4553,8 @@ rb_ary_take_while(VALUE ary) * call-seq: * ary.drop(n) -> new_ary * - * Drops first n elements from <i>ary</i>, and returns rest elements - * in an array. + * Drops first n elements from +ary+ and returns the rest of + * the elements in an array. * * a = [1, 2, 3, 4, 5, 0] * a.drop(3) #=> [4, 5, 0] |