Sha256: ef36d4e5e9f62fc489e515bd39143dc7b9f72ac69a080e2199846ae789c2076a

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 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_failure (Rev::TCPSocket::TCPConnectResolver)</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/socket.rb, line 182</span>
182:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">on_failure</span>
183:         <span class="ruby-ivar">@sock</span>.<span class="ruby-identifier">__send__</span>(<span class="ruby-identifier">:on_resolve_failed</span>)
184:         <span class="ruby-ivar">@sock</span>.<span class="ruby-identifier">instance_eval</span> { 
185:           <span class="ruby-ivar">@resolver</span> = <span class="ruby-keyword kw">nil</span> 
186:           <span class="ruby-ivar">@failed</span> = <span class="ruby-keyword kw">true</span>
187:         }
188:         <span class="ruby-keyword kw">return</span>
189:       <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/TCPSocket/TCPConnectResolver.src/M000062.html