Created
September 1, 2015 06:09
-
-
Save richo/5a0df902934829cce357 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
#!/usr/bin/env ruby | |
def fn(arg, other = arg.to_s) | |
puts other.inspect | |
end | |
fn(6) | |
fn(7, [1, 2]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment