Sha256: 8820ce64cf82cd141c902be2bdc15ed6e2379806d86b9a94f5b2ccdd428b66cb
Contents?: true
Size: 1.35 KB
Versions: 1
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 145</span> 145: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">count_errors</span>(<span class="ruby-identifier">as</span>) 146: <span class="ruby-keyword kw">begin</span> 147: <span class="ruby-keyword kw">yield</span> 148: <span class="ruby-keyword kw">rescue</span> 149: <span class="ruby-identifier">count</span> <span class="ruby-identifier">as</span> 150: <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>) 151: <span class="ruby-keyword kw">end</span> 152: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rfuzz-0.6 | doc/rdoc/classes/RFuzz/Session.src/M000031.html |