Created
July 26, 2010 15:31
-
-
Save MrJaba/490702 to your computer and use it in GitHub Desktop.
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
#I hate this: | |
unless <condition> do | |
horrible_multiline block | |
more hideousness | |
end | |
#Even worse | |
unless <condition> do | |
horribleness | |
else | |
i_want_to_vomit | |
end | |
#think it should only be used like this: | |
do_something unless <condition> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ah thanks. You think any unless condition should be small enough to fit in a statement modifier.