doc/EZMQ/Subscriber.html in ezmq-0.3.5 vs doc/EZMQ/Subscriber.html in ezmq-0.3.6
- old
+ new
@@ -114,46 +114,14 @@
</div>
- <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
- <ul class="summary">
-
- <li class="public ">
- <span class="summary_signature">
-
- <a href="#action-instance_method" title="#action (instance method)">- (Object) <strong>action</strong> </a>
-
-
- </span>
-
-
-
-
-
-
-
-
-
-
+ <h2>Instance Attribute Summary</h2>
- <span class="summary_desc"><div class='inline'>
-<p>Returns the value of attribute action.</p>
-</div></span>
-
-</li>
-
-
- </ul>
-
-
-
-
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Socket.html" title="EZMQ::Socket (class)">Socket</a></span></h3>
<p class="inherited"><span class='object_link'><a href="Socket.html#context-instance_method" title="EZMQ::Socket#context (method)">#context</a></span>, <span class='object_link'><a href="Socket.html#decode-instance_method" title="EZMQ::Socket#decode (method)">#decode</a></span>, <span class='object_link'><a href="Socket.html#encode-instance_method" title="EZMQ::Socket#encode (method)">#encode</a></span>, <span class='object_link'><a href="Socket.html#socket-instance_method" title="EZMQ::Socket#socket (method)">#socket</a></span></p>
@@ -384,17 +352,17 @@
<tr>
<td>
<pre class="lines">
+17
+18
19
-20
-21
-22</pre>
+20</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 19</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 17</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'>SUB</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span>
<span class='id identifier rubyid_subscribe'>subscribe</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:topic</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:topic</span><span class='rbracket'>]</span>
<span class='kw'>end</span></pre>
@@ -403,59 +371,11 @@
</table>
</div>
</div>
- <div id="instance_attr_details" class="attr_details">
- <h2>Instance Attribute Details</h2>
-
-
- <span id="action=-instance_method"></span>
- <div class="method_details first">
- <h3 class="signature first" id="action-instance_method">
-
- - (<tt>Object</tt>) <strong>action</strong>
-
-
-
-
-</h3><div class="docstring">
- <div class="discussion">
-
-<p>Returns the value of attribute action</p>
-
-
- </div>
-</div>
-<div class="tags">
-
-
-</div><table class="source_code">
- <tr>
- <td>
- <pre class="lines">
-
-
-7
-8
-9</pre>
- </td>
- <td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 7</span>
-
-<span class='kw'>def</span> <span class='id identifier rubyid_action'>action</span>
- <span class='ivar'>@action</span>
-<span class='kw'>end</span></pre>
- </td>
- </tr>
-</table>
-</div>
-
- </div>
-
-
<div id="instance_method_details" class="method_details_list">
<h2>Instance Method Details</h2>
<div class="method_details first">
@@ -536,23 +456,23 @@
<tr>
<td>
<pre class="lines">
+57
+58
59
60
61
62
63
64
65
-66
-67
-68</pre>
+66</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 59</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 57</span>
<span class='kw'>def</span> <span class='id identifier rubyid_listen'>listen</span>
<span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
<span class='kw'>if</span> <span class='id identifier rubyid_block_given?'>block_given?</span>
<span class='kw'>yield</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_receive'>receive</span><span class='rparen'>)</span>
@@ -713,26 +633,26 @@
<tr>
<td>
<pre class="lines">
+35
+36
37
38
39
40
41
42
43
44
45
46
-47
-48
-49</pre>
+47</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 37</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 35</span>
<span class='kw'>def</span> <span class='id identifier rubyid_receive'>receive</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</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='ivar'>@socket</span><span class='period'>.</span><span class='id identifier rubyid_recv_string'>recv_string</span> <span class='id identifier rubyid_message'>message</span>
@@ -825,16 +745,16 @@
<tr>
<td>
<pre class="lines">
-81
-82
-83</pre>
+79
+80
+81</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 81</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 79</span>
<span class='kw'>def</span> <span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span><span class='id identifier rubyid_topic'>topic</span><span class='rparen'>)</span>
<span class='ivar'>@socket</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span><span class='lparen'>(</span><span class='const'>ZMQ</span><span class='op'>::</span><span class='const'>SUBSCRIBE</span><span class='comma'>,</span> <span class='id identifier rubyid_topic'>topic</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='int'>0</span>
<span class='kw'>end</span></pre>
</td>
@@ -905,16 +825,16 @@
<tr>
<td>
<pre class="lines">
-92
-93
-94</pre>
+90
+91
+92</pre>
</td>
<td>
- <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 92</span>
+ <pre class="code"><span class="info file"># File 'lib/ezmq/subscribe.rb', line 90</span>
<span class='kw'>def</span> <span class='id identifier rubyid_unsubscribe'>unsubscribe</span><span class='lparen'>(</span><span class='id identifier rubyid_topic'>topic</span><span class='rparen'>)</span>
<span class='ivar'>@socket</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span><span class='lparen'>(</span><span class='const'>ZMQ</span><span class='op'>::</span><span class='const'>UNSUBSCRIBE</span><span class='comma'>,</span> <span class='id identifier rubyid_topic'>topic</span><span class='rparen'>)</span> <span class='op'>==</span> <span class='int'>0</span>
<span class='kw'>end</span></pre>
</td>
@@ -925,10 +845,10 @@
</div>
</div>
<div id="footer">
- Generated on Wed Jan 28 09:40:17 2015 by
+ Generated on Sat Jan 31 17:36:29 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