instance method
Enumerator::Lazy#eager
lzy.eager → enum
enumerator.c
View on GitHub ↗
static VALUE
lazy_eager(VALUE self)
{
return enumerator_init(enumerator_allocate(rb_cEnumerator),
self, sym_each, 0, 0, lazy_eager_size, Qnil, 0);
}
Returns a non-lazy Enumerator converted from the lazy enumerator.
See also
#drop_while
#_enumerable_collect
#drop
#_enumerable_collect_concat
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0