Project

General

Profile

Feature #14778 ยป dup_with_block.diff

hkdnet (Ko Sato), 05/20/2018 01:14 AM

View differences:

object.c
init_copy(dup, obj);
rb_funcall(dup, id_init_dup, 1, obj);
if (rb_block_given_p()) {
rb_yield(dup);
}
return dup;
}
    (1-1/1)