Created
July 25, 2012 10:53
-
-
Save doismellburning/3175523 to your computer and use it in GitHub Desktop.
Genuine dubyateeyeff
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
#!ruby | |
# Courtesy of @jcoglan - http://twitter.com/#!/jcoglan/status/228075420694753280 | |
def foo(a, b=0, c=0, d) | |
a + d | |
end | |
print foo(2,3,4) | |
# 6... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment