Quiz on Things Unremarked
Take a quiz on some concepts in this chapter.
1
Which code snippet outputs I am Carla
, assuming the name
variable is initialized as follows?
name = "Carla"
A)
puts %(I am \"#{name}\")
B)
puts %~I am "#{name}"~
C)
puts %~I am #{name}~
Question 1 of 50 attempted