End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Enumerator::Lazy#_enumerable_drop_while
_enumerable_drop_while
enumerator.c
View on GitHub ↗
static VALUE
lazy_drop_while(VALUE obj)
{
if (!rb_block_given_p()) {
rb_raise(rb_eArgError, "tried to call lazy drop_while without a block");
}
return lazy_add_method(obj, 0, 0, Qfalse, Qnil, &lazy_drop_while_funcs);
}
Alias of #drop_while
Like Enumerable#drop_while, but chains operation to be lazy-evaluated.
See also
#drop_while
#_enumerable_drop
#_enumerable_filter
#_enumerable_collect_concat
also in
4.0 · 3.4 · 3.3 · 3.1 · 3.0