initialize_copy(p1)
public
Numerics are immutable values, which should not be copied.
Any attempt to use this method on a Numeric
will raise a TypeError.
Show source
static VALUE
num_init_copy(VALUE x, VALUE y)
{
rb_raise(rb_eTypeError, "can't copy %s", rb_obj_classname(x));
UNREACHABLE;
}