Skip to content

Instantly share code, notes, and snippets.

@doismellburning
Created July 25, 2012 10:53
Show Gist options
  • Save doismellburning/3175523 to your computer and use it in GitHub Desktop.
Save doismellburning/3175523 to your computer and use it in GitHub Desktop.
Genuine dubyateeyeff
#!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