Skip to content

Instantly share code, notes, and snippets.

@jesseract
Created February 18, 2015 14:22
Show Gist options
  • Save jesseract/658d1e79e14c752c62c4 to your computer and use it in GitHub Desktop.
Save jesseract/658d1e79e14c752c62c4 to your computer and use it in GitHub Desktop.
2/18_challenge
def complements?(number)
array = []
array.each do |n|
assert n + n =
else
false
end
I *never* finish these things. Are they hard or am I just dumb?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment