Sha256: 2aaeb8cbd0a890adfbc5efb15539210febf9c9ebcb95a10b94d303afbc896d51
Contents?: true
Size: 1.35 KB
Versions: 3
Compression:
Stored size: 1.35 KB
Contents
<?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>count_errors (RFuzz::Session)</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/session.rb, line 147</span> 147: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count_errors</span>(<span class="ruby-identifier">as</span>) 148: <span class="ruby-keyword kw">begin</span> 149: <span class="ruby-keyword kw">yield</span> 150: <span class="ruby-keyword kw">rescue</span> 151: <span class="ruby-identifier">count</span> <span class="ruby-identifier">as</span> 152: <span class="ruby-identifier">count</span> <span class="ruby-identifier">$!</span>.<span class="ruby-identifier">class</span>.<span class="ruby-identifier">to_s</span>.<span class="ruby-identifier">tr</span>(<span class="ruby-value str">":"</span>,<span class="ruby-value str">""</span>) 153: <span class="ruby-keyword kw">end</span> 154: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rfuzz-0.7 | doc/rdoc/classes/RFuzz/Session.src/M000031.html |
rfuzz-0.8 | doc/rdoc/classes/RFuzz/Session.src/M000045.html |
rfuzz-0.9 | doc/rdoc/classes/RFuzz/Session.src/M000046.html |