each(*args) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
static VALUE
generator_each(int argc, VALUE *argv, VALUE obj)
    struct generator *ptr = generator_ptr(obj);
    VALUE args = rb_ary_new2(argc + 1);

    rb_ary_push(args, yielder_new());
    if (argc > 0) {
        rb_ary_cat(args, argv, argc);

    return rb_proc_call(ptr->proc, args);
Register or log in to add new notes.