Created
August 10, 2012 12:17
-
-
Save docrock/3313842 to your computer and use it in GitHub Desktop.
Testing @tscoff Ruby Script to put Gist into DayOne Please Ignore
This file contains hidden or 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
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