coerce(other)
Instance Public methods
The coerce method provides support for Ruby type coercion. This coercion
mechanism is used by Ruby to handle mixed-type numeric operations: it is
intended to find a compatible common type between the two operands of the
operator. See also Numeric#coerce.