Mega Code Archive

 
Categories / Ruby / String
 

Escape a single quote

puts 'it may look like this string contains a newline\nbut it doesn\'t'