frontend/public/Meroku/Tunnelable.html in meroku-2.0.9 vs frontend/public/Meroku/Tunnelable.html in meroku-2.0.10
- old
+ new
@@ -193,11 +193,13 @@
22
23
24
25
26
-27</pre>
+27
+28
+29</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/meroku/tunnelable.rb', line 5</span>
<span class='kw'>def</span> <span class='id identifier rubyid_tunnel_run'>tunnel_run</span><span class='lparen'>(</span><span class='id identifier rubyid_cmd'>cmd</span><span class='rparen'>)</span>
@@ -219,10 +221,12 @@
<span class='kw'>end</span><span class='period'>.</span><span class='id identifier rubyid_wait'>wait</span>
<span class='kw'>end</span>
<span class='id identifier rubyid_abort'>abort</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_cmd'>cmd</span><span class='embexpr_end'>}</span><span class='tstring_content'> returned </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_code'>code</span><span class='embexpr_end'>}</span><span class='tstring_content'> !!</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_code'>code</span> <span class='op'>!=</span> <span class='int'>0</span>
<span class='kw'>rescue</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>SSH</span><span class='op'>::</span><span class='const'>ConnectionTimeout</span>
<span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Net::SSH::ConnectionTimeout</span><span class='tstring_end'>"</span></span> <span class='op'>&&</span> <span class='kw'>retry</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_retries'>retries</span> <span class='op'>+=</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'><</span> <span class='int'>3</span>
+ <span class='kw'>rescue</span> <span class='const'>Errno</span><span class='op'>::</span><span class='const'>ECONNREFUSED</span>
+ <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Net::SSH::ConnectionTimeout</span><span class='tstring_end'>"</span></span> <span class='op'>&&</span> <span class='kw'>retry</span> <span class='kw'>if</span> <span class='lparen'>(</span><span class='id identifier rubyid_retries'>retries</span> <span class='op'>+=</span> <span class='int'>1</span><span class='rparen'>)</span> <span class='op'><</span> <span class='int'>3</span>
<span class='kw'>end</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
@@ -231,10 +235,10 @@
</div>
</div>
<div id="footer">
- Generated on Tue Oct 31 19:39:54 2017 by
+ Generated on Wed Nov 1 08:50:10 2017 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.9 (ruby-2.4.2).
</div>
</div>
\ No newline at end of file