Class: Rational

Inherits:
Object show all
Defined in:
lib/primitive_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#to_fractionObject



888
889
890
# File 'lib/primitive_wrapper.rb', line 888

def to_fraction
  Fraction.new(self)
end