Commit 075f1bb
[ruby/strscan] Resurrect a method that has not been obsolete
(ruby/strscan#169)
Partially revert ruby/strscan#168 because
strscan_rest_p did not have `rb_warning("StringScanner#rest? is
obsolete")`.
It is actively used by the latest tzinfo.gem, and we shouldn't remove it
without deprecating it.
ruby/strscan@f3fdf211891 parent afaa971 commit 075f1bb
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| |||
1471 | 1472 | | |
1472 | 1473 | | |
1473 | 1474 | | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
| 1484 | + | |
| 1485 | + | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
1474 | 1498 | | |
1475 | 1499 | | |
1476 | 1500 | | |
| |||
2237 | 2261 | | |
2238 | 2262 | | |
2239 | 2263 | | |
| 2264 | + | |
2240 | 2265 | | |
2241 | 2266 | | |
2242 | 2267 | | |
| |||
0 commit comments