How to print string with double quotation mark in Ruby

1 Answer

0 votes
s = "Ruby is an \"interpreted\" programming language."

puts s



# run:
#
# Ruby is an "interpreted" programming language.
#

 



answered Dec 20, 2020 by avibootz
...