A double-quoted string is a Ruby string literal enclosed in quotation marks. Unlike a single-quoted string, it evaluates #{...} interpolation and interprets escape sequences such as \n and \t. section 8.1.1
Interpolation versus literal text
puts "Two plus two is #{2 + 2}." outputs “Two plus two is 4.”; the single-quoted equivalent prints the interpolation markers literally. Escape interpolation with backslashes when the expression should remain text.
puts "Two plus two is #{2 + 2}."
puts 'Two plus two is #{2 + 2}.'
Compare interpolation evaluated inside double quotes with the same characters preserved inside single quotes. section 8.1.1
