doc/EZMQ/Client.html in ezmq-0.4.1 vs doc/EZMQ/Client.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)">- (Client) <strong>initialize</strong>(**options) </a>
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Client) <strong>initialize</strong>(mode = :connect, **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::Client (class)">Client</a></span></tt>) <strong>initialize</strong>(**options)
+ - (<tt><span class='object_link'><a href="" title="EZMQ::Client (class)">Client</a></span></tt>) <strong>initialize</strong>(mode = :connect, **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>:connect</tt>)</em>
+
+
+ —
+ <div class='inline'>
+<p>(:connect) a mode for the socket.</p>
+</div>
+
+ </li>
+
+ <li>
+
<span class='name'>options</span>
<span class='type'>(<tt>Hash</tt>)</span>
@@ -250,19 +268,19 @@
<tr>
<td>
<pre class="lines">
-14
15
-16</pre>
+16
+17</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/request.rb', line 14</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/request.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'>:connect</span><span class='comma'>,</span> <span class='const'>ZMQ</span><span class='op'>::</span><span class='const'>REQ</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'>:connect</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'>REQ</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
<span class='kw'>end</span></pre>
</td>
</tr>
</table>
</div>
@@ -373,21 +391,21 @@
<tr>
<td>
<pre class="lines">
-27
28
29
30
31
32
33
-34</pre>
+34
+35</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/request.rb', line 27</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/request.rb', line 28</span>
<span class='kw'>def</span> <span class='id identifier rubyid_request'>request</span><span class='lparen'>(</span><span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
<span class='id identifier rubyid_send'>send</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
<span class='kw'>yield</span> <span class='id identifier rubyid_receive'>receive</span> <span class='id identifier rubyid_options'>options</span>
@@ -403,10 +421,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