Created
July 3, 2009 22:51
-
-
Save patmaddox/140360 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
def funky_foo(shakalaka, &block) | |
if some_condition | |
# lines of code | |
# and more lines of code | |
# ... | |
# 50 lines of code | |
else | |
puts "chicken dinner" | |
end | |
end |
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 funky_foo(shakalaka, &block) | |
unless some_condition | |
puts "chicken dinner" | |
return | |
end | |
# lines of code | |
# and more lines of code | |
# ... | |
# 50 lines of code | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment