Class: Enumerator::Producer

Inherits:
Object show all
Defined in:
enumerator.c

Instance Method Summary collapse

Instance Method Details

#eachObject

:nodoc:



2962
2963
2964
2965
2966
2967
2968
# File 'enumerator.c', line 2962

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