Skip to content

Instantly share code, notes, and snippets.

@yangsu
Created January 28, 2013 03:38
Show Gist options
  • Select an option

  • Save yangsu/4652826 to your computer and use it in GitHub Desktop.

Select an option

Save yangsu/4652826 to your computer and use it in GitHub Desktop.
Ruby Function Call
puts(foo) # this prints "hello, plcourse" and returns nil
puts foo # this is exactly the same as above, with a bit of syntactic sugar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment