Class: Enumerator::Producer

Inherits:
Object show all
Defined in:
enumerator.c

Instance Method Summary collapse

Instance Method Details

#eachObject

:nodoc:



2954
2955
2956
2957
2958
2959
2960
# File 'enumerator.c', line 2954

static VALUE
producer_each(VALUE obj)
{
    rb_need_block();

    return rb_rescue2(producer_each_i, obj, producer_each_stop, (VALUE)0, rb_eStopIteration, (VALUE)0);
}