method
lcm
lcm(other)
public
Hide source
# File lib/complex.rb, line 431 def lcm(other) if self.zero? or other.zero? 0 else (self.div(self.gcd(other)) * other).abs end end