Mega Code Archive

 
Categories / Ruby / String
 

Escape quotation marks with a backslash

puts "I said, \" Hello.\"" or 'I said, \'Hello.\''