Skip to content

Instantly share code, notes, and snippets.

@mlomnicki
Created January 20, 2011 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mlomnicki/788503 to your computer and use it in GitHub Desktop.
Save mlomnicki/788503 to your computer and use it in GitHub Desktop.
Comma vs implicit string concat
def foo(a = "hello", b = "stranger")
puts "#{a} #{b}"
end
foo("go" "away")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment