Bug #8207 ยป 0001-Clarify-Array-delete_if-docs.patch
| array.c | ||
|---|---|---|
|  * | ||
|  *  If no block is given, an enumerator is returned instead. | ||
|  * | ||
|  *     a = [ "a", "b", "c" ] | ||
|  *     a.delete_if {|x| x >= "b" }   #=> ["a"] | ||
|  *     scores = [ 97, 42, 75 ] | ||
|  *     scores.delete_if {|score| score < 80 }   #=> [97] | ||
|  */ | ||
| static VALUE | ||