Skip to content

Instantly share code, notes, and snippets.

@kuruma-gs
Created November 2, 2011 03:15
Show Gist options
  • Save kuruma-gs/1332752 to your computer and use it in GitHub Desktop.
Save kuruma-gs/1332752 to your computer and use it in GitHub Desktop.
title
@techs.empty?
# Output "I love Ruby"
say = "I love Ruby"
puts say
# Output "I *LOVE* RUBY"
say['love'] = "*love*"
puts say.upcase
# Output "I *love* Ruby"
# five times
5.times { puts say }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment