1748 1749 1750 1751 1752 1753 1754
# File 'lib/m500.rb', line 1748 def to_s if @b == 1 (@a*@abs1).to_s else "#{@numerator*@abs1}/#{@denominator}" end end