class Rational
Public Instance Methods
prettify()
click to toggle source
# File lib/annlat/Sundries.rb, line 20 def prettify if self.denominator==1 self.numerator else self end end
# File lib/annlat/Sundries.rb, line 20 def prettify if self.denominator==1 self.numerator else self end end