Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am aaron0 on github.
  • I am aohearn (https://keybase.io/aohearn) on keybase.
  • I have a public key ASBED9IzedrCV9yFT0YSlG1hw57tTcsPjbIDmehR1CgNbAo

To claim this, I am signing this object:

@aaron0
aaron0 / guess.rb
Created Dec 3, 2011 — forked from jeremyw/guess.rb
Number guessing game for nubies
View guess.rb
class Array
def sum
inject(0) { |sum, value| sum += value }
end
def average
sum.to_f / size
end
end
You can’t perform that action at this time.