Class: Integer

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

Instance Method Summary collapse

Instance Method Details

#to_fractionObject



876
877
878
# File 'lib/primitive_wrapper.rb', line 876

def to_fraction
  Fraction.new(self)
end