doc/files/bin/dskexplorer_rb.src/M000008.html in dsktool-0.2.1 vs doc/files/bin/dskexplorer_rb.src/M000008.html in dsktool-0.4.1

- old
+ new

@@ -8,10 +8,10 @@ <title>uri_encode (bin/dskexplorer.rb)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> - <pre><span class="ruby-comment cmt"># File bin/dskexplorer.rb, line 90</span> + <pre><span class="ruby-comment cmt"># File bin/dskexplorer.rb, line 87</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">uri_encode</span>(<span class="ruby-identifier">s</span>) <span class="ruby-comment cmt">#standard URI.escape appears to miss some important characters</span> <span class="ruby-identifier">require</span> <span class="ruby-value str">'uri'</span> <span class="ruby-constant">URI</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-identifier">s</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quot;[&quot;</span>,<span class="ruby-value str">&quot;%5b&quot;</span>).<span class="ruby-identifier">gsub</span>(<span class="ruby-value str">&quot;]&quot;</span>,<span class="ruby-value str">&quot;%5d&quot;</span>) <span class="ruby-keyword kw">end</span></pre> \ No newline at end of file