ionian 0.6.12 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/doc/Ionian.html +3 -3
- data/doc/Ionian/Extension.html +1 -1
- data/doc/Ionian/Extension/IO.html +175 -56
- data/doc/Ionian/Extension/Socket.html +229 -122
- data/doc/Ionian/ManagedSocket.html +946 -0
- data/doc/Ionian/Server.html +1 -1
- data/doc/Ionian/Socket.html +720 -138
- data/doc/_index.html +16 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +14 -1
- data/doc/file.license.html +1 -1
- data/doc/index.html +14 -1
- data/doc/method_list.html +137 -47
- data/doc/top-level-namespace.html +1 -1
- data/lib/ionian.rb +1 -0
- data/lib/ionian/extension/io.rb +26 -8
- data/lib/ionian/extension/socket.rb +18 -18
- data/lib/ionian/managed_socket.rb +109 -0
- data/lib/ionian/socket.rb +65 -18
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4164186ec6ea1d5a2253e87a7a7d29a0eb42ad88
|
4
|
+
data.tar.gz: f31dfb488830387206a4991ac4261efecdae2ac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cb8ded96fe343dad4535a811783c0797d7951f793efbd0d3519f3cd894def3dae8062dc6dd82021a2c6292cf194608562be3812c628ec96f2de0297c6f85266
|
7
|
+
data.tar.gz: 3e039f674576317a2a814f7d4c39ec03fbeb054b60066b8210385d44e139d4dae97f74e39285dde8413dfb691eaab13048d27994aec1765906503671df766c5f
|
data/README.md
CHANGED
@@ -16,6 +16,19 @@ A Ruby library to simplify interaction with IO streams. This includes network so
|
|
16
16
|
gem install ionian
|
17
17
|
|
18
18
|
|
19
|
+
## Issues, Bugs, Feature Requests
|
20
|
+
|
21
|
+
Any bugs and feature requests should be reported on the GitHub issue tracker:
|
22
|
+
|
23
|
+
https://github.com/amclain/ionian/issues
|
24
|
+
|
25
|
+
|
26
|
+
**Pull requests are preferred via GitHub.**
|
27
|
+
|
28
|
+
Mercurial users can use [Hg-Git](http://hg-git.github.io/) to interact with
|
29
|
+
GitHub repositories.
|
30
|
+
|
31
|
+
|
19
32
|
## Code Examples
|
20
33
|
|
21
34
|
### Creating A Socket
|
data/doc/Ionian.html
CHANGED
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
82
|
<dd class="r1 last">lib/ionian.rb<span class="defines">,<br />
|
83
|
-
lib/ionian/
|
83
|
+
lib/ionian/server.rb,<br /> lib/ionian/socket.rb,<br /> lib/ionian/extension/io.rb,<br /> lib/ionian/managed_socket.rb,<br /> lib/ionian/extension/socket.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -107,7 +107,7 @@ Features regular expression matching and notification of received data.</p>
|
|
107
107
|
|
108
108
|
|
109
109
|
|
110
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Ionian/Server.html" title="Ionian::Server (class)">Server</a></span>, <span class='object_link'><a href="Ionian/Socket.html" title="Ionian::Socket (class)">Socket</a></span>
|
110
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Ionian/ManagedSocket.html" title="Ionian::ManagedSocket (class)">ManagedSocket</a></span>, <span class='object_link'><a href="Ionian/Server.html" title="Ionian::Server (class)">Server</a></span>, <span class='object_link'><a href="Ionian/Socket.html" title="Ionian::Socket (class)">Socket</a></span>
|
111
111
|
|
112
112
|
|
113
113
|
</p>
|
@@ -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
|
126
|
+
Generated on Wed Jan 28 16:07:19 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
|
122
|
+
Generated on Wed Jan 28 16:07:19 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>
|
@@ -182,7 +182,7 @@ implement the standard library IO class. my_socket.extend Ionian::IO</p>
|
|
182
182
|
<li class="public ">
|
183
183
|
<span class="summary_signature">
|
184
184
|
|
185
|
-
<a href="#expression-instance_method" title="#expression (instance method)">- (
|
185
|
+
<a href="#expression-instance_method" title="#expression (instance method)">- (Regexp) <strong>expression</strong> </a>
|
186
186
|
|
187
187
|
|
188
188
|
|
@@ -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>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>
|
@@ -444,6 +444,28 @@ 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
|
+
|
447
469
|
</li>
|
448
470
|
|
449
471
|
|
@@ -627,7 +649,7 @@ standard library IO::select.</p>
|
|
627
649
|
<div class="method_details first">
|
628
650
|
<h3 class="signature first" id="expression-instance_method">
|
629
651
|
|
630
|
-
- (<tt>
|
652
|
+
- (<tt>Regexp</tt>) <strong>expression</strong>
|
631
653
|
|
632
654
|
|
633
655
|
|
@@ -636,13 +658,31 @@ standard library IO::select.</p>
|
|
636
658
|
</h3><div class="docstring">
|
637
659
|
<div class="discussion">
|
638
660
|
|
639
|
-
<p>Returns
|
661
|
+
<p>Returns 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>
|
640
662
|
|
641
663
|
|
642
664
|
</div>
|
643
665
|
</div>
|
644
666
|
<div class="tags">
|
645
667
|
|
668
|
+
<p class="tag_title">Returns:</p>
|
669
|
+
<ul class="return">
|
670
|
+
|
671
|
+
<li>
|
672
|
+
|
673
|
+
|
674
|
+
<span class='type'>(<tt>Regexp</tt>)</span>
|
675
|
+
|
676
|
+
|
677
|
+
|
678
|
+
—
|
679
|
+
<div class='inline'>
|
680
|
+
<p>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
|
+
</div>
|
682
|
+
|
683
|
+
</li>
|
684
|
+
|
685
|
+
</ul>
|
646
686
|
|
647
687
|
</div><table class="source_code">
|
648
688
|
<tr>
|
@@ -873,14 +913,14 @@ automatically.</p>
|
|
873
913
|
<pre class="lines">
|
874
914
|
|
875
915
|
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
916
|
+
189
|
917
|
+
190
|
918
|
+
191
|
919
|
+
192
|
920
|
+
193</pre>
|
881
921
|
</td>
|
882
922
|
<td>
|
883
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
923
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 189</span>
|
884
924
|
|
885
925
|
<span class='kw'>def</span> <span class='id identifier rubyid_purge'>purge</span>
|
886
926
|
<span class='comment'># Erase IO buffer.
|
@@ -1115,8 +1155,7 @@ of this method.</p>
|
|
1115
1155
|
|
1116
1156
|
—
|
1117
1157
|
<div class='inline'>
|
1118
|
-
<p>
|
1119
|
-
timeout period.</p>
|
1158
|
+
<p>matches. Nil if no data was received within the timeout period.</p>
|
1120
1159
|
</div>
|
1121
1160
|
|
1122
1161
|
</li>
|
@@ -1173,7 +1212,14 @@ timeout period.</p>
|
|
1173
1212
|
148
|
1174
1213
|
149
|
1175
1214
|
150
|
1176
|
-
151
|
1215
|
+
151
|
1216
|
+
152
|
1217
|
+
153
|
1218
|
+
154
|
1219
|
+
155
|
1220
|
+
156
|
1221
|
+
157
|
1222
|
+
158</pre>
|
1177
1223
|
</td>
|
1178
1224
|
<td>
|
1179
1225
|
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 107</span>
|
@@ -1188,16 +1234,23 @@ timeout period.</p>
|
|
1188
1234
|
<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>
|
1189
1235
|
|
1190
1236
|
<span class='kw'>unless</span> <span class='id identifier rubyid_skip_select'>skip_select</span>
|
1191
|
-
<span class='kw'>return</span> <span class='kw'>nil</span> <span class='kw'>unless</span> <span class='
|
1237
|
+
<span class='kw'>return</span> <span class='kw'>nil</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>
|
1192
1238
|
<span class='kw'>end</span>
|
1193
1239
|
|
1194
|
-
<span class='comment'># Read data from the IO buffer until it's empty.
|
1195
|
-
</span> <span class='ivar'>@ionian_buf</span> <span class='op'><<</span> <span class='id identifier rubyid_read_all'>read_all</span>
|
1196
|
-
|
1197
1240
|
<span class='ivar'>@matches</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1198
1241
|
|
1242
|
+
<span class='comment'># TODO: Implement an option for number of bytes or timeout to throw away
|
1243
|
+
</span> <span class='comment'># data if no match is found.
|
1244
|
+
</span> <span class='const'>Timeout</span><span class='period'>.</span><span class='id identifier rubyid_timeout'>timeout</span><span class='lparen'>(</span><span class='id identifier rubyid_timeout'>timeout</span><span class='rparen'>)</span> <span class='kw'>do</span>
|
1245
|
+
<span class='id identifier rubyid_loop'>loop</span> <span class='kw'>do</span>
|
1246
|
+
<span class='comment'># Read data from the IO buffer until it's empty.
|
1247
|
+
</span> <span class='ivar'>@ionian_buf</span> <span class='op'><<</span> <span class='id identifier rubyid_read_all'>read_all</span>
|
1248
|
+
<span class='kw'>break</span> <span class='kw'>if</span> <span class='ivar'>@ionian_buf</span> <span class='op'>=~</span> <span class='id identifier rubyid_exp'>exp</span>
|
1249
|
+
<span class='kw'>end</span>
|
1250
|
+
<span class='kw'>end</span>
|
1251
|
+
|
1199
1252
|
<span class='kw'>while</span> <span class='ivar'>@ionian_buf</span> <span class='op'>=~</span> <span class='id identifier rubyid_exp'>exp</span>
|
1200
|
-
<span class='ivar'>@matches</span> <span class='op'><<</span> <span class='gvar'>$~</span>
|
1253
|
+
<span class='ivar'>@matches</span> <span class='op'><<</span> <span class='gvar'>$~</span> <span class='comment'># Match data.
|
1201
1254
|
</span> <span class='ivar'>@ionian_buf</span> <span class='op'>=</span> <span class='backref'>$'</span> <span class='comment'># Leave post match data in the buffer.
|
1202
1255
|
</span> <span class='kw'>end</span>
|
1203
1256
|
|
@@ -1290,13 +1343,13 @@ callbacks can be registered with &object.method(:method).</p>
|
|
1290
1343
|
<pre class="lines">
|
1291
1344
|
|
1292
1345
|
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1346
|
+
234
|
1347
|
+
235
|
1348
|
+
236
|
1349
|
+
237</pre>
|
1297
1350
|
</td>
|
1298
1351
|
<td>
|
1299
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1352
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 234</span>
|
1300
1353
|
|
1301
1354
|
<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>
|
1302
1355
|
<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>
|
@@ -1385,13 +1438,13 @@ Method callbacks can be registered with &object.method(:method).</p>
|
|
1385
1438
|
<pre class="lines">
|
1386
1439
|
|
1387
1440
|
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1441
|
+
205
|
1442
|
+
206
|
1443
|
+
207
|
1444
|
+
208</pre>
|
1392
1445
|
</td>
|
1393
1446
|
<td>
|
1394
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1447
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 205</span>
|
1395
1448
|
|
1396
1449
|
<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>
|
1397
1450
|
<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>
|
@@ -1429,14 +1482,16 @@ Method callbacks can be registered with &object.method(:method).</p>
|
|
1429
1482
|
<pre class="lines">
|
1430
1483
|
|
1431
1484
|
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1485
|
+
213
|
1486
|
+
214
|
1487
|
+
215
|
1488
|
+
216</pre>
|
1435
1489
|
</td>
|
1436
1490
|
<td>
|
1437
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1491
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 213</span>
|
1438
1492
|
|
1439
1493
|
<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'>WARN: 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>
|
1440
1495
|
<span class='id identifier rubyid_register_match_handler'>register_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1441
1496
|
<span class='kw'>end</span></pre>
|
1442
1497
|
</td>
|
@@ -1472,26 +1527,28 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1472
1527
|
<pre class="lines">
|
1473
1528
|
|
1474
1529
|
|
1475
|
-
156
|
1476
|
-
157
|
1477
|
-
158
|
1478
|
-
159
|
1479
|
-
160
|
1480
|
-
161
|
1481
|
-
162
|
1482
1530
|
163
|
1483
1531
|
164
|
1484
1532
|
165
|
1485
1533
|
166
|
1486
1534
|
167
|
1487
1535
|
168
|
1488
|
-
169
|
1536
|
+
169
|
1537
|
+
170
|
1538
|
+
171
|
1539
|
+
172
|
1540
|
+
173
|
1541
|
+
174
|
1542
|
+
175
|
1543
|
+
176
|
1544
|
+
177</pre>
|
1489
1545
|
</td>
|
1490
1546
|
<td>
|
1491
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1547
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 163</span>
|
1492
1548
|
|
1493
1549
|
<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>
|
1494
1550
|
<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
|
+
<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>
|
1495
1552
|
<span class='kw'>begin</span>
|
1496
1553
|
<span class='kw'>while</span> <span class='kw'>not</span> <span class='id identifier rubyid_closed?'>closed?</span> <span class='kw'>do</span>
|
1497
1554
|
<span class='id identifier rubyid_matches'>matches</span> <span class='op'>=</span> <span class='id identifier rubyid_read_match'>read_match</span> <span class='op'>**</span><span class='id identifier rubyid_kwargs'>kwargs</span>
|
@@ -1507,6 +1564,66 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1507
1564
|
</td>
|
1508
1565
|
</tr>
|
1509
1566
|
</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>
|
1510
1627
|
</div>
|
1511
1628
|
|
1512
1629
|
<div class="method_details ">
|
@@ -1535,13 +1652,13 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1535
1652
|
<pre class="lines">
|
1536
1653
|
|
1537
1654
|
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1655
|
+
242
|
1656
|
+
243
|
1657
|
+
244
|
1658
|
+
245</pre>
|
1542
1659
|
</td>
|
1543
1660
|
<td>
|
1544
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1661
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 242</span>
|
1545
1662
|
|
1546
1663
|
<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>
|
1547
1664
|
<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>
|
@@ -1578,13 +1695,13 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1578
1695
|
<pre class="lines">
|
1579
1696
|
|
1580
1697
|
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1698
|
+
219
|
1699
|
+
220
|
1700
|
+
221
|
1701
|
+
222</pre>
|
1585
1702
|
</td>
|
1586
1703
|
<td>
|
1587
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1704
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 219</span>
|
1588
1705
|
|
1589
1706
|
<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>
|
1590
1707
|
<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>
|
@@ -1622,14 +1739,16 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1622
1739
|
<pre class="lines">
|
1623
1740
|
|
1624
1741
|
|
1625
|
-
|
1626
|
-
|
1627
|
-
|
1742
|
+
225
|
1743
|
+
226
|
1744
|
+
227
|
1745
|
+
228</pre>
|
1628
1746
|
</td>
|
1629
1747
|
<td>
|
1630
|
-
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line
|
1748
|
+
<pre class="code"><span class="info file"># File 'lib/ionian/extension/io.rb', line 225</span>
|
1631
1749
|
|
1632
1750
|
<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'>WARN: 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>
|
1633
1752
|
<span class='id identifier rubyid_unregister_match_handler'>unregister_match_handler</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span>
|
1634
1753
|
<span class='kw'>end</span></pre>
|
1635
1754
|
</td>
|
@@ -1642,7 +1761,7 @@ Passes kwargs to <span class='object_link'><a href="#read_match-instance_method"
|
|
1642
1761
|
</div>
|
1643
1762
|
|
1644
1763
|
<div id="footer">
|
1645
|
-
Generated on
|
1764
|
+
Generated on Wed Jan 28 16:07:20 2015 by
|
1646
1765
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1647
1766
|
0.8.7.6 (ruby-2.1.5).
|
1648
1767
|
</div>
|