Last active
February 11, 2016 11:25
-
-
Save k-ta-yamada/800388f1766da4b5bf1a to your computer and use it in GitHub Desktop.
catch me if you can
This file contains 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 catch(_) | |
(rand * 10).to_i.odd? | |
end | |
def you (_) | |
_.to_i.even? | |
end | |
me = 'me' | |
can = (rand * 10) | |
catch me if you can |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment