ionian 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/Ionian.html +1 -1
- data/doc/Ionian/Extension.html +1 -1
- data/doc/Ionian/Extension/IO.html +78 -142
- data/doc/Ionian/Extension/Socket.html +39 -24
- data/doc/Ionian/ManagedSocket.html +244 -173
- data/doc/Ionian/Server.html +1 -1
- data/doc/Ionian/Socket.html +225 -91
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/file.license.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +87 -87
- data/doc/top-level-namespace.html +1 -1
- data/lib/ionian/extension/io.rb +8 -16
- data/lib/ionian/extension/socket.rb +1 -0
- data/lib/ionian/managed_socket.rb +84 -39
- data/lib/ionian/socket.rb +10 -2
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d6bba03f9f1791979a72088a2cd9155ae0e65b9
|
4
|
+
data.tar.gz: 9ab62bf3d807119d6bde1c5a0b4c64d0e986d91d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3160ee5be5d4a2b889e5e6178fcbe5032638a0904d321c399b99968c9e1126d8474de0d8c08830a62defd2a3f08b59cff0532cdefadaddca60f95e234356a8bf
|
7
|
+
data.tar.gz: d64871dca7c1ea53ff71ff875c0ac763d69bf98b23cde1669fb9a2c0485519013fe925f76072bfd32dcf3862f3d8cafb73943a475dbd304aeb8537e6ae1b1dbc
|
data/doc/Ionian.html
CHANGED
@@ -123,7 +123,7 @@ Features regular expression matching and notification of received data.</p>
|
|
123
123
|
</div>
|
124
124
|
|
125
125
|
<div id="footer">
|
126
|
-
Generated on Wed
|
126
|
+
Generated on Wed Feb 11 16:57:30 2015 by
|
127
127
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
128
128
|
0.8.7.6 (ruby-2.1.5).
|
129
129
|
</div>
|
data/doc/Ionian/Extension.html
CHANGED
@@ -119,7 +119,7 @@
|
|
119
119
|
</div>
|
120
120
|
|
121
121
|
<div id="footer">
|
122
|
-
Generated on Wed
|
122
|
+
Generated on Wed Feb 11 16:57:30 2015 by
|
123
123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
124
124
|
0.8.7.6 (ruby-2.1.5).
|
125
125
|
</div>
|
@@ -197,7 +197,7 @@ implement the standard library IO class. my_socket.extend Ionian::IO</p>
|
|
197
197
|
|
198
198
|
|
199
199
|
<span class="summary_desc"><div class='inline'>
|
200
|
-
<p>
|
200
|
+
<p>The regular expression used for <span class='object_link'><a href="#read_match-instance_method" title="Ionian::Extension::IO#read_match (method)">#read_match</a></span>.</p>
|
201
201
|
</div></span>
|
202
202
|
|
203
203
|
</li>
|
@@ -326,7 +326,7 @@ implement the standard library IO class. my_socket.extend Ionian::IO</p>
|
|
326
326
|
<li class="public ">
|
327
327
|
<span class="summary_signature">
|
328
328
|
|
329
|
-
<a href="#read_match-instance_method" title="#read_match (instance method)">- (Array<MatchData>
|
329
|
+
<a href="#read_match-instance_method" title="#read_match (instance method)">- (Array<MatchData>) <strong>read_match</strong>(**kwargs) {|match| ... }</a>
|
330
330
|
|
331
331
|
|
332
332
|
|
@@ -444,28 +444,6 @@ implement the standard library IO class. my_socket.extend Ionian::IO</p>
|
|
444
444
|
<p>Start a thread that checks for data and notifies match and error handlers.</p>
|
445
445
|
</div></span>
|
446
446
|
|
447
|
-
</li>
|
448
|
-
|
449
|
-
|
450
|
-
<li class="public ">
|
451
|
-
<span class="summary_signature">
|
452
|
-
|
453
|
-
<a href="#run_match_is_running%3F-instance_method" title="#run_match_is_running? (instance method)">- (Boolean) <strong>run_match_is_running?</strong> </a>
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
</span>
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
468
|
-
|
469
447
|
</li>
|
470
448
|
|
471
449
|
|
@@ -658,7 +636,7 @@ standard library IO::select.</p>
|
|
658
636
|
</h3><div class="docstring">
|
659
637
|
<div class="discussion">
|
660
638
|
|
661
|
-
<p>Returns
|
639
|
+
<p>Returns the regular expression used for <span class='object_link'><a href="#read_match-instance_method" title="Ionian::Extension::IO#read_match (method)">#read_match</a></span>.</p>
|
662
640
|
|
663
641
|
|
664
642
|
</div>
|
@@ -677,7 +655,7 @@ standard library IO::select.</p>
|
|
677
655
|
|
678
656
|
—
|
679
657
|
<div class='inline'>
|
680
|
-
<p>
|
658
|
+
<p>the regular expression used for <span class='object_link'><a href="#read_match-instance_method" title="Ionian::Extension::IO#read_match (method)">#read_match</a></span>.</p>
|
681
659
|
</div>
|
682
660
|
|
683
661
|
</li>
|
@@ -727,7 +705,27 @@ href=":parameter">match</a>.</p>
|
|
727
705
|
</div>
|
728
706
|
</div>
|
729
707
|
<div class="tags">
|
708
|
+
<p class="tag_title">Parameters:</p>
|
709
|
+
<ul class="param">
|
710
|
+
|
711
|
+
<li>
|
712
|
+
|
713
|
+
<span class='name'>exp</span>
|
714
|
+
|
715
|
+
|
716
|
+
<span class='type'>(<tt>Regexp</tt>, <tt>String</tt>)</span>
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
—
|
721
|
+
<div class='inline'>
|
722
|
+
<p>Match expression.</p>
|
723
|
+
</div>
|
724
|
+
|
725
|
+
</li>
|
730
726
|
|
727
|
+
</ul>
|
728
|
+
|
731
729
|
|
732
730
|
</div><table class="source_code">
|
733
731
|
<tr>
|
@@ -735,13 +733,13 @@ href=":parameter">match</a>.</p>
|
|
735
733
|
<pre class="lines">
|
736
734
|
|
737
735
|
|
738
|
-
53
|
739
736
|
54
|
740
737
|
55
|
741
|
-
56
|
738
|
+
56
|
739
|
+
57</pre>
|
742
740
|
</td>
|
743
741
|
<td>
|
744
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
742
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 54</span>
|
745
743
|
|
746
744
|
<span class='kw'>def</span> <span class='id identifier rubyid_expression='>expression=</span> <span class='id identifier rubyid_exp'>exp</span>
|
747
745
|
<span class='ivar'>@ionian_expression</span> <span class='op'>=</span> <span class='id identifier rubyid_exp'>exp</span>
|
@@ -913,14 +911,14 @@ automatically.</p>
|
|
913
911
|
<pre class="lines">
|
914
912
|
|
915
913
|
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
914
|
+
181
|
915
|
+
182
|
916
|
+
183
|
917
|
+
184
|
918
|
+
185</pre>
|
921
919
|
</td>
|
922
920
|
<td>
|
923
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
921
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 181</span>
|
924
922
|
|
925
923
|
<span class='kw'>def</span> <span class='id identifier rubyid_purge'>purge</span>
|
926
924
|
<span class='comment'># Erase IO buffer.
|
@@ -960,7 +958,6 @@ nonblocking, returns nil if no data available.</p>
|
|
960
958
|
<pre class="lines">
|
961
959
|
|
962
960
|
|
963
|
-
62
|
964
961
|
63
|
965
962
|
64
|
966
963
|
65
|
@@ -968,10 +965,11 @@ nonblocking, returns nil if no data available.</p>
|
|
968
965
|
67
|
969
966
|
68
|
970
967
|
69
|
971
|
-
70
|
968
|
+
70
|
969
|
+
71</pre>
|
972
970
|
</td>
|
973
971
|
<td>
|
974
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
972
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 63</span>
|
975
973
|
|
976
974
|
<span class='kw'>def</span> <span class='id identifier rubyid_read_all'>read_all</span> <span class='label'>nonblocking:</span> <span class='kw'>false</span>
|
977
975
|
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>if</span> <span class='id identifier rubyid_nonblocking'>nonblocking</span> <span class='kw'>and</span> <span class='kw'>not</span> <span class='id identifier rubyid_has_data?'>has_data?</span>
|
@@ -990,7 +988,7 @@ nonblocking, returns nil if no data available.</p>
|
|
990
988
|
<div class="method_details ">
|
991
989
|
<h3 class="signature " id="read_match-instance_method">
|
992
990
|
|
993
|
-
- (<tt>Array<MatchData></tt
|
991
|
+
- (<tt>Array<MatchData></tt>) <strong>read_match</strong>(**kwargs) {|match| ... }
|
994
992
|
|
995
993
|
|
996
994
|
|
@@ -1149,13 +1147,13 @@ of this method.</p>
|
|
1149
1147
|
<li>
|
1150
1148
|
|
1151
1149
|
|
1152
|
-
<span class='type'>(<tt>Array<MatchData></tt
|
1150
|
+
<span class='type'>(<tt>Array<MatchData></tt>)</span>
|
1153
1151
|
|
1154
1152
|
|
1155
1153
|
|
1156
1154
|
—
|
1157
1155
|
<div class='inline'>
|
1158
|
-
<p>matches.
|
1156
|
+
<p>matches. Empty array if no data was received within the timeout period.</p>
|
1159
1157
|
</div>
|
1160
1158
|
|
1161
1159
|
</li>
|
@@ -1168,7 +1166,6 @@ of this method.</p>
|
|
1168
1166
|
<pre class="lines">
|
1169
1167
|
|
1170
1168
|
|
1171
|
-
107
|
1172
1169
|
108
|
1173
1170
|
109
|
1174
1171
|
110
|
@@ -1219,10 +1216,11 @@ of this method.</p>
|
|
1219
1216
|
155
|
1220
1217
|
156
|
1221
1218
|
157
|
1222
|
-
158
|
1219
|
+
158
|
1220
|
+
159</pre>
|
1223
1221
|
</td>
|
1224
1222
|
<td>
|
1225
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1223
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 108</span>
|
1226
1224
|
|
1227
1225
|
<span class='kw'>def</span> <span class='id identifier rubyid_read_match'>read_match</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1228
1226
|
<span class='id identifier rubyid_timeout'>timeout</span> <span class='op'>=</span> <span class='id identifier rubyid_kwargs'>kwargs</span><span class='period'>.</span><span class='id identifier rubyid_fetch'>fetch</span> <span class='symbol'>:timeout</span><span class='comma'>,</span> <span class='ivar'>@ionian_timeout</span>
|
@@ -1234,7 +1232,7 @@ of this method.</p>
|
|
1234
1232
|
<span class='id identifier rubyid_exp'>exp</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>(.*?)</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_exp'>exp</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_exp'>exp</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>String</span>
|
1235
1233
|
|
1236
1234
|
<span class='kw'>unless</span> <span class='id identifier rubyid_skip_select'>skip_select</span>
|
1237
|
-
<span class='kw'>return</span> <span class='
|
1235
|
+
<span class='kw'>return</span> <span class='lbracket'>[</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_has_data?'>has_data?</span> <span class='label'>timeout:</span> <span class='id identifier rubyid_timeout'>timeout</span>
|
1238
1236
|
<span class='kw'>end</span>
|
1239
1237
|
|
1240
1238
|
<span class='ivar'>@matches</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
@@ -1343,13 +1341,13 @@ callbacks can be registered with &object.method(:method).</p>
|
|
1343
1341
|
<pre class="lines">
|
1344
1342
|
|
1345
1343
|
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1344
|
+
226
|
1345
|
+
227
|
1346
|
+
228
|
1347
|
+
229</pre>
|
1350
1348
|
</td>
|
1351
1349
|
<td>
|
1352
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1350
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 226</span>
|
1353
1351
|
|
1354
1352
|
<span class='kw'>def</span> <span class='id identifier rubyid_register_error_handler'>register_error_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1355
1353
|
<span class='ivar'>@ionian_error_handlers</span> <span class='op'><<</span> <span class='id identifier rubyid_block'>block</span> <span class='kw'>unless</span> <span class='ivar'>@ionian_error_handlers</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -1438,13 +1436,13 @@ Method callbacks can be registered with &object.method(:method).</p>
|
|
1438
1436
|
<pre class="lines">
|
1439
1437
|
|
1440
1438
|
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1439
|
+
197
|
1440
|
+
198
|
1441
|
+
199
|
1442
|
+
200</pre>
|
1445
1443
|
</td>
|
1446
1444
|
<td>
|
1447
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1445
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 197</span>
|
1448
1446
|
|
1449
1447
|
<span class='kw'>def</span> <span class='id identifier rubyid_register_match_handler'>register_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1450
1448
|
<span class='ivar'>@ionian_match_handlers</span> <span class='op'><<</span> <span class='id identifier rubyid_block'>block</span> <span class='kw'>unless</span> <span class='ivar'>@ionian_match_handlers</span><span class='period'>.</span><span class='id identifier rubyid_include?'>include?</span> <span class='id identifier rubyid_block'>block</span>
|
@@ -1482,16 +1480,16 @@ Method callbacks can be registered with &object.method(:method).</p>
|
|
1482
1480
|
<pre class="lines">
|
1483
1481
|
|
1484
1482
|
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1483
|
+
205
|
1484
|
+
206
|
1485
|
+
207
|
1486
|
+
208</pre>
|
1489
1487
|
</td>
|
1490
1488
|
<td>
|
1491
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1489
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 205</span>
|
1492
1490
|
|
1493
1491
|
<span class='kw'>def</span> <span class='id identifier rubyid_register_observer'>register_observer</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1494
|
-
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>
|
1492
|
+
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>WARNING: Call to deprecated method: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid___method__'>__method__</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
1495
1493
|
<span class='id identifier rubyid_register_match_handler'>register_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1496
1494
|
<span class='kw'>end</span></pre>
|
1497
1495
|
</td>
|
@@ -1527,7 +1525,6 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1527
1525
|
<pre class="lines">
|
1528
1526
|
|
1529
1527
|
|
1530
|
-
163
|
1531
1528
|
164
|
1532
1529
|
165
|
1533
1530
|
166
|
@@ -1544,15 +1541,14 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1544
1541
|
177</pre>
|
1545
1542
|
</td>
|
1546
1543
|
<td>
|
1547
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1544
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 164</span>
|
1548
1545
|
|
1549
1546
|
<span class='kw'>def</span> <span class='id identifier rubyid_run_match'>run_match</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span>
|
1550
1547
|
<span class='ivar'>@run_match_thread</span> <span class='op'>||=</span> <span class='const'>Thread</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span> <span class='kw'>do</span>
|
1551
1548
|
<span class='const'>Thread</span><span class='period'>.</span><span class='id identifier rubyid_current'>current</span><span class='period'>.</span><span class='id identifier rubyid_thread_variable_set'>thread_variable_set</span> <span class='symbol'>:match_thread_running</span><span class='comma'>,</span> <span class='kw'>true</span>
|
1552
1549
|
<span class='kw'>begin</span>
|
1553
1550
|
<span class='kw'>while</span> <span class='kw'>not</span> <span class='id identifier rubyid_closed?'>closed?</span> <span class='kw'>do</span>
|
1554
|
-
<span class='id identifier
|
1555
|
-
<span class='id identifier rubyid_matches'>matches</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_notify_match_handlers'>notify_match_handlers</span> <span class='id identifier rubyid_match'>match</span> <span class='rbrace'>}</span> <span class='kw'>if</span> <span class='id identifier rubyid_matches'>matches</span>
|
1551
|
+
<span class='id identifier rubyid_read_match'>read_match</span><span class='lparen'>(</span><span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_match'>match</span><span class='op'>|</span> <span class='id identifier rubyid_notify_match_handlers'>notify_match_handlers</span> <span class='id identifier rubyid_match'>match</span> <span class='rbrace'>}</span>
|
1556
1552
|
<span class='kw'>end</span>
|
1557
1553
|
<span class='kw'>rescue</span> <span class='const'>Exception</span> <span class='op'>=></span> <span class='id identifier rubyid_e'>e</span>
|
1558
1554
|
<span class='id identifier rubyid_notify_error_handlers'>notify_error_handlers</span> <span class='id identifier rubyid_e'>e</span>
|
@@ -1564,66 +1560,6 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1564
1560
|
</td>
|
1565
1561
|
</tr>
|
1566
1562
|
</table>
|
1567
|
-
</div>
|
1568
|
-
|
1569
|
-
<div class="method_details ">
|
1570
|
-
<h3 class="signature " id="run_match_is_running?-instance_method">
|
1571
|
-
|
1572
|
-
- (<tt>Boolean</tt>) <strong>run_match_is_running?</strong>
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
</h3><div class="docstring">
|
1579
|
-
<div class="discussion">
|
1580
|
-
|
1581
|
-
|
1582
|
-
</div>
|
1583
|
-
</div>
|
1584
|
-
<div class="tags">
|
1585
|
-
|
1586
|
-
<p class="tag_title">Returns:</p>
|
1587
|
-
<ul class="return">
|
1588
|
-
|
1589
|
-
<li>
|
1590
|
-
|
1591
|
-
|
1592
|
-
<span class='type'>(<tt>Boolean</tt>)</span>
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
</li>
|
1597
|
-
|
1598
|
-
</ul>
|
1599
|
-
|
1600
|
-
</div><table class="source_code">
|
1601
|
-
<tr>
|
1602
|
-
<td>
|
1603
|
-
<pre class="lines">
|
1604
|
-
|
1605
|
-
|
1606
|
-
179
|
1607
|
-
180
|
1608
|
-
181
|
1609
|
-
182
|
1610
|
-
183
|
1611
|
-
184
|
1612
|
-
185</pre>
|
1613
|
-
</td>
|
1614
|
-
<td>
|
1615
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 179</span>
|
1616
|
-
|
1617
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_run_match_is_running?'>run_match_is_running?</span>
|
1618
|
-
<span class='kw'>return</span> <span class='kw'>true</span> <span class='kw'>if</span> \
|
1619
|
-
<span class='ivar'>@run_match_thread</span> <span class='kw'>and</span>
|
1620
|
-
<span class='ivar'>@run_match_thread</span><span class='period'>.</span><span class='id identifier rubyid_thread_variable_get'>thread_variable_get</span><span class='lparen'>(</span><span class='symbol'>:match_thread_running</span><span class='rparen'>)</span>
|
1621
|
-
|
1622
|
-
<span class='kw'>false</span>
|
1623
|
-
<span class='kw'>end</span></pre>
|
1624
|
-
</td>
|
1625
|
-
</tr>
|
1626
|
-
</table>
|
1627
1563
|
</div>
|
1628
1564
|
|
1629
1565
|
<div class="method_details ">
|
@@ -1652,13 +1588,13 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1652
1588
|
<pre class="lines">
|
1653
1589
|
|
1654
1590
|
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1591
|
+
234
|
1592
|
+
235
|
1593
|
+
236
|
1594
|
+
237</pre>
|
1659
1595
|
</td>
|
1660
1596
|
<td>
|
1661
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1597
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 234</span>
|
1662
1598
|
|
1663
1599
|
<span class='kw'>def</span> <span class='id identifier rubyid_unregister_error_handler'>unregister_error_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1664
1600
|
<span class='ivar'>@ionian_error_handlers</span><span class='period'>.</span><span class='id identifier rubyid_delete_if'>delete_if</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span> <span class='id identifier rubyid_o'>o</span> <span class='op'>==</span> <span class='id identifier rubyid_block'>block</span> <span class='rbrace'>}</span>
|
@@ -1695,13 +1631,13 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1695
1631
|
<pre class="lines">
|
1696
1632
|
|
1697
1633
|
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1634
|
+
211
|
1635
|
+
212
|
1636
|
+
213
|
1637
|
+
214</pre>
|
1702
1638
|
</td>
|
1703
1639
|
<td>
|
1704
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1640
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 211</span>
|
1705
1641
|
|
1706
1642
|
<span class='kw'>def</span> <span class='id identifier rubyid_unregister_match_handler'>unregister_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1707
1643
|
<span class='ivar'>@ionian_match_handlers</span><span class='period'>.</span><span class='id identifier rubyid_delete_if'>delete_if</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_o'>o</span><span class='op'>|</span> <span class='id identifier rubyid_o'>o</span> <span class='op'>==</span> <span class='id identifier rubyid_block'>block</span> <span class='rbrace'>}</span>
|
@@ -1739,16 +1675,16 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1739
1675
|
<pre class="lines">
|
1740
1676
|
|
1741
1677
|
|
1742
|
-
|
1743
|
-
|
1744
|
-
|
1745
|
-
|
1678
|
+
217
|
1679
|
+
218
|
1680
|
+
219
|
1681
|
+
220</pre>
|
1746
1682
|
</td>
|
1747
1683
|
<td>
|
1748
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1684
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 217</span>
|
1749
1685
|
|
1750
1686
|
<span class='kw'>def</span> <span class='id identifier rubyid_unregister_observer'>unregister_observer</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1751
|
-
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>
|
1687
|
+
<span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>WARNING: Call to deprecated method: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid___method__'>__method__</span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span>
|
1752
1688
|
<span class='id identifier rubyid_unregister_match_handler'>unregister_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1753
1689
|
<span class='kw'>end</span></pre>
|
1754
1690
|
</td>
|
@@ -1761,7 +1697,7 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1761
1697
|
</div>
|
1762
1698
|
|
1763
1699
|
<div id="footer">
|
1764
|
-
Generated on Wed
|
1700
|
+
Generated on Wed Feb 11 16:57:31 2015 by
|
1765
1701
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1766
1702
|
0.8.7.6 (ruby-2.1.5).
|
1767
1703
|
</div>
|