Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/daru/monkeys.rb

Instance Method Summary collapse

Instance Method Details

#squareObject


86
87
88
# File 'lib/daru/monkeys.rb', line 86

def square
  self * self
end