class Float
Public Instance Methods
*(other)
click to toggle source
# File lib/distance/core_ext/float.rb, line 4 def *(other) other.is_a?(Distance) ? other * self : orig_multiply(other) end
Also aliased as: orig_multiply