Skip to content

Instantly share code, notes, and snippets.

@docrock
Created August 10, 2012 12:17
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 docrock/3313842 to your computer and use it in GitHub Desktop.
Save docrock/3313842 to your computer and use it in GitHub Desktop.
Testing @tscoff Ruby Script to put Gist into DayOne Please Ignore
Testing @tscoff Ruby Script to put Gist into DayOne Please Ignore,.
irb(main):019:0> def h(name = "World")
irb(main):020:1> puts "Hello #{name.capitalize}!"
irb(main):021:1> end
=> nil
irb(main):022:0> h "chris"
Hello Chris!
=> nil
irb(main):023:0> h
Hello World!
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment