class Bignum
In ruby versions before 2.4, multiplication was defined in Bignum
and Fixnum
, not in Integer
Public Instance Methods
*(other)
click to toggle source
# File lib/distance/core_ext/integer.rb, line 24 def *(other) other.is_a?(Distance) ? other * self : orig_multiply(other) end
Also aliased as: orig_multiply