Class: Enumerator::Producer

Inherits:
Object show all
Defined in:
enumerator.c

Instance Method Summary collapse

Instance Method Details

#eachObject

:nodoc:



2957
2958
2959
2960
2961
2962
2963
# File 'enumerator.c', line 2957

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