Sha256: 73f2e907a1fb53e52c26ae96ff4973adca59a9d94bc28faa00b198390cc17380
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 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>on_timer (Rev::DNSResolver::Timeout)</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/rev/dns_resolver.rb, line 187</span> 187: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_timer</span> 188: <span class="ruby-ivar">@attempts</span> <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> 189: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@resolver</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:send_request</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@attempts</span> <span class="ruby-operator"><=</span> <span class="ruby-constant">RETRIES</span> 190: 191: <span class="ruby-ivar">@resolver</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:on_timeout</span>) 192: <span class="ruby-ivar">@resolver</span>.<span class="ruby-identifier">detach</span> 193: <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rev-0.1.2 | doc/rdoc/classes/Rev/DNSResolver/Timeout.src/M000137.html |