Actions
Bug #1695
closedString interpolation Issue with escape characters inside an in-string evaluated statement
Description
=begin
Apologies if this has already been addressed but I could not find anything:
Alone, works fine¶
'a'.gsub("'",'\'')
=> "a"
Inside a string in #{} - bombs¶
"hi #{'a'.gsub("'",'\'')}"
[just waits for another "]
"
SyntaxError: compile error
(irb):20: unterminated string meets end of file
from (irb):20
=end
Actions
Like0
Like0Like0Like0Like0Like0