method

initialize_copy

ruby latest stable - Class: Numeric

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_4_6) is shown here.

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.