doc/rdoc/classes/RFuzz/HttpClient.src/M000019.html in rfuzz-0.6 vs doc/rdoc/classes/RFuzz/HttpClient.src/M000019.html in rfuzz-0.7

- old
+ new

@@ -8,19 +8,19 @@ <title>notify (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 442</span> -442: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">notify</span>(<span class="ruby-identifier">event</span>) -443: <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> -444: -445: <span class="ruby-keyword kw">begin</span> -446: <span class="ruby-keyword kw">yield</span> -447: <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> -448: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span> -449: <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> -450: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span> -451: <span class="ruby-keyword kw">end</span> -452: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/client.rb, line 447</span> +447: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">notify</span>(<span class="ruby-identifier">event</span>) +448: <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> +449: +450: <span class="ruby-keyword kw">begin</span> +451: <span class="ruby-keyword kw">yield</span> +452: <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> +453: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Object</span> +454: <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> +455: <span class="ruby-identifier">raise</span> <span class="ruby-identifier">$!</span> +456: <span class="ruby-keyword kw">end</span> +457: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file