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#slice_when
slice_when(*args)
enumerator.c
View on GitHub ↗
endif
static VALUE
lazy_super(int argc, VALUE *argv, VALUE lazy)
{
return enumerable_lazy(rb_call_super(argc, argv));
}
Alias of #chunk
Like Enumerable#slice_when, but chains operation to be lazy-evaluated.