method
quote
v1_8_7_330 -
Show latest stable
- Class:
WEBrick::HTTPUtils
quote(str)public
No documentation available.
# File lib/webrick/httputils.rb, line 196
def quote(str)
'"' << str.gsub(/[\\\"]/o, "\\\1") << '"'
end