Created
February 22, 2011 02:10
-
-
Save flazz/838098 to your computer and use it in GitHub Desktop.
many tests of one value
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
if r == P | |
#do_something ... | |
elsif r * 2 < Q | |
#do_something ... | |
elsif some_test(r) | |
#do_something ... | |
else | |
raise "unpossible" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment