PATH:
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
rdoc
/
classes
/
Rack
/
Auth
/
Digest
/
Params.src
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>parse (Rack::Auth::Digest::Params)</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 lib/rack/auth/digest/params.rb, line 6</span> <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">str</span>) <span class="ruby-constant">Params</span>[<span class="ruby-operator">*</span><span class="ruby-identifier">split_header_value</span>(<span class="ruby-identifier">str</span>).<span class="ruby-identifier">map</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">param</span><span class="ruby-operator">|</span> <span class="ruby-identifier">k</span>, <span class="ruby-identifier">v</span> = <span class="ruby-identifier">param</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">'='</span>, <span class="ruby-value">2</span>) [<span class="ruby-identifier">k</span>, <span class="ruby-identifier">dequote</span>(<span class="ruby-identifier">v</span>)] <span class="ruby-keyword kw">end</span>.<span class="ruby-identifier">flatten</span>] <span class="ruby-keyword kw">end</span></pre> </body> </html>
[-] M000099.html
[edit]
[-] M000106.html
[edit]
[-] M000104.html
[edit]
[-] M000100.html
[edit]
[-] M000103.html
[edit]
[-] M000105.html
[edit]
[+]
..
[-] M000101.html
[edit]
[-] M000102.html
[edit]