Class: Enumerator::Producer

Inherits:
Object show all
Defined in:
enumerator.c

Instance Method Summary collapse

Instance Method Details

#eachObject

:nodoc:



3028
3029
3030
3031
3032
3033
3034
# File 'enumerator.c', line 3028

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);
}