doc/rdoc/classes/RFuzz/PushBackIO.src/M000018.html in rfuzz-0.8 vs doc/rdoc/classes/RFuzz/PushBackIO.src/M000018.html in rfuzz-0.9

- old
+ new

@@ -3,20 +3,16 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> - <title>protect (RFuzz::PushBackIO)</title> + <title>close (RFuzz::PushBackIO)</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/pushbackio.rb, line 82</span> -82: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">protect</span> -83: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@secondary</span>.<span class="ruby-identifier">closed?</span> -84: <span class="ruby-keyword kw">yield</span> -85: <span class="ruby-keyword kw">else</span> -86: <span class="ruby-identifier">raise</span> <span class="ruby-constant">HttpClientError</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value str">&quot;Socket closed.&quot;</span>) -87: <span class="ruby-keyword kw">end</span> -88: <span class="ruby-keyword kw">end</span></pre> + <pre> <span class="ruby-comment cmt"># File lib/rfuzz/pushbackio.rb, line 92</span> +92: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">close</span> +93: <span class="ruby-ivar">@secondary</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span> +94: <span class="ruby-keyword kw">end</span></pre> </body> </html> \ No newline at end of file