pub fn quote(s: &str) -> String
A Ruby double-quoted string literal reading as s: backslashes and quotes escaped, and every # that could start an interpolation (#{...}, #$global, #@ivar) made literal.
s
#
#{...}
#$global
#@ivar