Method: Enumerator::Yielder#<<

Defined in:
enumerator.c

#<<(arg) ⇒ Object

:nodoc:



1368
1369
1370
1371
1372
1373
1374
1375
1376
# File 'enumerator.c', line 1368

static VALUE
yielder_yield_push(VALUE obj, VALUE arg)
{
    struct yielder *ptr = yielder_ptr(obj);

    rb_proc_call_with_block(ptr->proc, 1, &arg, Qnil);

    return obj;
}