Parent

Methods

Fixnum

Public Instance Methods

div(n) click to toggle source
# File lib/backports/1.8.7/fixnum/div.rb, line 3
def div(n)
  (self / n).to_i
end
fdiv(n) click to toggle source
# File lib/backports/1.8.7/fixnum/fdiv.rb, line 3
def fdiv(n)
  to_f / n
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.