1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* array.c: Typo in Array#delete by Timo Sand [GH fixes #258]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-03-17 18:19:56 +00:00
parent ade879ec76
commit d883d756d1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Mon Mar 18 03:18:00 2013 Zachary Scott <zachary@zacharyscott.net>
* array.c: Typo in Array#delete by Timo Sand [GH fixes #258]
Mon Mar 18 01:14:56 2013 NARUSE, Yui <naruse@ruby-lang.org>
* io.c (io_fillbuf): show fd number on failure to debug.

View file

@ -5357,7 +5357,8 @@ rb_ary_drop_while(VALUE ary)
* To delete a particular element anywhere in an array, use #delete:
*
* arr = [1, 2, 2, 3]
* arr.delete(2) #=> [1, 3]
* arr.delete(2) #=> 2
* arr #=> [1,3]
*
* A useful method if you need to remove +nil+ values from an array is
* #compact: