doc/EZMQ/Server.html in ezmq-0.4.1 vs doc/EZMQ/Server.html in ezmq-0.4.2
- old
+ new
@@ -133,11 +133,11 @@
<ul class="summary">
<li class="public ">
<span class="summary_signature">
- <a href="#initialize-instance_method" title="#initialize (instance method)">- (Server) <strong>initialize</strong>(**options) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Server) <strong>initialize</strong>(mode = :bind, **options) </a>
</span>
@@ -200,11 +200,11 @@
<h2>Constructor Details</h2>
<div class="method_details first">
<h3 class="signature first" id="initialize-instance_method">
- - (<tt><span class='object_link'><a href="" title="EZMQ::Server (class)">Server</a></span></tt>) <strong>initialize</strong>(**options)
+ - (<tt><span class='object_link'><a href="" title="EZMQ::Server (class)">Server</a></span></tt>) <strong>initialize</strong>(mode = :bind, **options)
@@ -220,10 +220,28 @@
<p class="tag_title">Parameters:</p>
<ul class="param">
<li>
+ <span class='name'>mode</span>
+
+
+ <span class='type'>(<tt>:bind</tt>, <tt>:connect</tt>)</span>
+
+
+ <em class="default">(defaults to: <tt>:bind</tt>)</em>
+
+
+ —
+ <div class='inline'>
+<p>(:bind) a mode for the socket.</p>
+</div>
+
+ </li>
+
+ <li>
+
<span class='name'>options</span>
<span class='type'>(<tt>Hash</tt>)</span>
@@ -257,12 +275,12 @@
17</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'lib/ezmq/reply.rb', line 15</span>
-<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
- <span class='kw'>super</span> <span class='symbol'>:bind</span><span class='comma'>,</span> <span class='const'>ZMQ</span><span class='op'>::</span><span class='const'>REP</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
+<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_mode'>mode</span> <span class='op'>=</span> <span class='symbol'>:bind</span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
+ <span class='kw'>super</span> <span class='id identifier rubyid_mode'>mode</span><span class='comma'>,</span> <span class='const'>ZMQ</span><span class='op'>::</span><span class='const'>REP</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -388,10 +406,10 @@
</div>
</div>
<div id="footer">
- Generated on Fri Feb 20 17:02:39 2015 by
+ Generated on Tue Feb 24 13:47:50 2015 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.7.6 (ruby-2.0.0).
</div>
</body>
\ No newline at end of file