Class: Fixnum

Inherits:
Object show all
Defined in:
lib/guerrilla_patch/kernel.rb

Instance Method Summary collapse

Instance Method Details

#divide(ratios) ⇒ Object



86
87
88
# File 'lib/guerrilla_patch/kernel.rb', line 86

def divide(ratios)
  DivideByType.divide(ratios, self)
end

#negativeObject



82
83
84
# File 'lib/guerrilla_patch/kernel.rb', line 82

def negative
  -self
end