Sha256: 85e3103e092dd60c83bfed65ad374d090c5424311a9503f8847877393a65f175

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>unescape_raw (Uri)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/keystone/core_ext/uri.rb, line 11</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">unescape_raw</span>(<span class="ruby-identifier">st</span>)
    <span class="ruby-identifier">st</span>.<span class="ruby-identifier">tr</span>(<span class="ruby-value str">'+'</span>,<span class="ruby-value str">' '</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/%([A-Fa-f0-9][A-Fa-f0-9])/</span>) { [<span class="ruby-identifier">$1</span>.<span class="ruby-identifier">hex</span>].<span class="ruby-identifier">pack</span>(<span class="ruby-value str">'C'</span>) }
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
keystone-0.0.32 doc/classes/Uri.src/M000002.html
keystone-0.0.31 doc/classes/Uri.src/M000002.html
keystone-0.0.30 doc/classes/Uri.src/M000002.html
keystone-0.0.29 doc/classes/Uri.src/M000002.html