doc/rdoc/classes/RFuzz/HttpEncoding.src/M000001.html in rfuzz-0.7 vs doc/rdoc/classes/RFuzz/HttpEncoding.src/M000001.html in rfuzz-0.8

- old
+ new

@@ -8,19 +8,19 @@ <title>encode_cookies (RFuzz::HttpEncoding)</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/rfuzz/client.rb, line 47</span> -47: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">encode_cookies</span>(<span class="ruby-identifier">cookies</span>) -48: <span class="ruby-identifier">result</span> = <span class="ruby-value str">&quot;&quot;</span> -49: <span class="ruby-identifier">cookies</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> -50: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Array</span> -51: <span class="ruby-identifier">v</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">result</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">encode_field</span>(<span class="ruby-constant">COOKIE</span>, <span class="ruby-identifier">encode_param</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">x</span>)) } -52: <span class="ruby-keyword kw">else</span> -53: <span class="ruby-identifier">result</span> <span class="ruby-operator">+=</span> <span class="ruby-identifier">encode_field</span>(<span class="ruby-constant">COOKIE</span>, <span class="ruby-identifier">encode_param</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)) -54: <span class="ruby-keyword kw">end</span> -55: <span class="ruby-keyword kw">end</span> -56: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span> -57: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 63</span> +63: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">encode_cookies</span>(<span class="ruby-identifier">cookies</span>) +64: <span class="ruby-identifier">result</span> = <span class="ruby-value str">&quot;&quot;</span> +65: <span class="ruby-identifier">cookies</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span><span class="ruby-operator">|</span> +66: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">v</span>.<span class="ruby-identifier">kind_of?</span> <span class="ruby-constant">Array</span> +67: <span class="ruby-identifier">v</span>.<span class="ruby-identifier">each</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">x</span><span class="ruby-operator">|</span> <span class="ruby-identifier">result</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">encode_field</span>(<span class="ruby-constant">COOKIE</span>, <span class="ruby-identifier">encode_param</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">x</span>)) } +68: <span class="ruby-keyword kw">else</span> +69: <span class="ruby-identifier">result</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">encode_field</span>(<span class="ruby-constant">COOKIE</span>, <span class="ruby-identifier">encode_param</span>(<span class="ruby-identifier">k</span>,<span class="ruby-identifier">v</span>)) +70: <span class="ruby-keyword kw">end</span> +71: <span class="ruby-keyword kw">end</span> +72: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span> +73: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file