End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Numeric#clone
num.clone(freeze: true) → num
numeric.c
View on GitHub ↗
static VALUE
num_clone(int argc, VALUE *argv, VALUE x)
{
return rb_immutable_obj_clone(argc, argv, x);
}
Returns the receiver. freeze cannot be false.