Method: Fixnum#div
- Defined in:
- lib/backports/1.8.7/fixnum/div.rb
#div(n) ⇒ Object
3 4 5 |
# File 'lib/backports/1.8.7/fixnum/div.rb', line 3 def div(n) (self / n).to_i end |
3 4 5 |
# File 'lib/backports/1.8.7/fixnum/div.rb', line 3 def div(n) (self / n).to_i end |