doc/rdoc/classes/RFuzz/HttpClient.src/M000030.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/HttpClient.src/M000030.html in rfuzz-0.9

- old
+ new

@@ -3,24 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>notify (RFuzz::HttpClient)</title> + <title>reset (RFuzz::HttpClient)</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 451</span> -451: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">notify</span>(<span class="ruby-identifier">event</span>) -452: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:begins</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span> -453: -454: <span class="ruby-keyword kw">begin</span> -455: <span class="ruby-keyword kw">yield</span> -456: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:ends</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span> -457: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span> -458: <span class="ruby-ivar">@notifier</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">event</span>, <span class="ruby-identifier">:error</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@notifier</span> -459: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span> -460: <span class="ruby-keyword kw">end</span> -461: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 440</span> +440: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reset</span> +441: <span class="ruby-ivar">@cookies</span>.<span class="ruby-identifier">clear</span> +442: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file