Created
January 27, 2012 04:48
-
-
Save agentfin/1687039 to your computer and use it in GitHub Desktop.
Nesting your method calls
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
# Repo Man | |
def thirsty_bitch | |
puts "get me another" | |
beer | |
end | |
def beer | |
puts "Red Stripe." | |
end | |
puts "Otto!" | |
thirsty_bitch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
. . . we're practicing some syntax here, but that is NIFTY
Definitely will lean toward the #{__} in future.