method

reduce

v1_8_6_287 - Show latest stable - Class: Rational
reduce(num, den = 1)
public

Reduces the given numerator and denominator to their lowest terms. Use <a href="/ruby/Rational">Rational()</a> instead.