Created
February 18, 2015 14:22
-
-
Save jesseract/658d1e79e14c752c62c4 to your computer and use it in GitHub Desktop.
2/18_challenge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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