Class: Enumerator::Producer

Inherits:
Object show all
Defined in:
enumerator.c

Instance Method Summary collapse

Instance Method Details

#eachObject

:nodoc:



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

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