grep_v(p1)
public
Inverted version of Enumerable#grep. Returns an array of every element in
enum for which not Pattern === element.
(1..10).grep_v 2..5
res =(1..10).grep_v(2..5) { |v| v * 2 }
res
static VALUE
enum_grep_v(VALUE obj, VALUE pat)
{
VALUE ary = rb_ary_new();
struct MEMO *memo = MEMO_NEW(pat, ary, Qfalse);
rb_block_call(obj, id_each, 0, 0, rb_block_given_p() ? grep_iter_i : grep_i, (VALUE)memo);
return ary;
}