* array.c (rb_ary_drop): Improve documentation. Patch by Caley Woods.
[Ruby 1.9 - Bug #4858] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
be39117330
commit
8bfb41ba7e
@ -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.
|
||||
|
4
array.c
4
array.c
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user