Sha256: 66b532eb160da7c41dba0de8cb585af8cebc100e36965c4cdc511887a414173a

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 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>random_death (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 17</span>
17:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">random_death</span>
18:       <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">$io_death_count</span>
19:         <span class="ruby-ivar">@die_after</span> <span class="ruby-operator">-=</span> <span class="ruby-value">1</span>
20:         <span class="ruby-identifier">close</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@die_after</span> <span class="ruby-operator">&lt;=</span> <span class="ruby-value">0</span> 
21:       <span class="ruby-keyword kw">end</span>
22:     <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfuzz-0.9 doc/rdoc/classes/RFuzz/PushBackIO.src/M000011.html