Single And Double Quoted String Notation
> feet, inches = [6, 4]
> puts "I am #{feet}'#{inches}\" tall"
I am 6'4" tall> puts %Q[I am #{feet}'#{inches}" tall]
I am 6'4" tall> puts %q[I am #{feet}'#{inches}\" tall]
I am #{feet}'#{inches}\" tall> puts %[I am #{feet}'#{inches}" tall]
I am 6'4" tallLast updated