instance method
Enumerator::Lazy#slice_before
(untyped pattern) -> ::Enumerator[::Array[Elem]]
() { (Elem elt) -> ::boolish } -> ::Enumerator[::Array[Elem]]
slice_before(*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_before, but chains operation to be lazy-evaluated.