Ruby String Basics (Again)
Strings in Ruby can be either single or double quoted:
'single quoted string'
"double quoted string"
Strings in Ruby can be printed:
print 'a string'
# => a string
puts "another string"
# => another string
Strings in Ruby can be stored in a variable:
string_var = "stored text"
puts string_var
# => stored text
Strings in Ruby can be concatenated:
puts "abc" + " " + "look at me"
# => abc look at me
Strings in Ruby can be interpolated:
word = "turtle"
puts "I would like to say #{word}!"
# => I would like to say turtle!