method

unescape

v1_9_1_378 - Show latest stable - Class: URI::Parser
unescape(str, escaped = @regexp[:ESCAPED])
public

No documentation available.

# File lib/uri/common.rb, line 229
    def unescape(str, escaped = @regexp[:ESCAPED])
      str.gsub(escaped) { [$&[1, 2].hex].pack('C') }.force_encoding(str.encoding)
    end