ionian 0.6.12 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1226,14 +1226,14 @@ true.</p>
1226
1226
  <pre class="lines">
1227
1227
 
1228
1228
 
1229
+ 122
1230
+ 123
1229
1231
  124
1230
1232
  125
1231
- 126
1232
- 127
1233
- 128</pre>
1233
+ 126</pre>
1234
1234
  </td>
1235
1235
  <td>
1236
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 124</span>
1236
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 122</span>
1237
1237
 
1238
1238
  <span class='kw'>def</span> <span class='id identifier rubyid_cork'>cork</span>
1239
1239
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='rparen'>)</span><span class='period'>
@@ -1274,13 +1274,13 @@ corked byte is written. See #recork. Linux only. ( TCP_CORK )</p>
1274
1274
  <pre class="lines">
1275
1275
 
1276
1276
 
1277
+ 138
1278
+ 139
1277
1279
  140
1278
- 141
1279
- 142
1280
- 143</pre>
1280
+ 141</pre>
1281
1281
  </td>
1282
1282
  <td>
1283
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 140</span>
1283
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 138</span>
1284
1284
 
1285
1285
  <span class='kw'>def</span> <span class='id identifier rubyid_cork='>cork=</span> <span class='id identifier rubyid_value'>value</span>
1286
1286
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_value'>value</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
@@ -1360,18 +1360,18 @@ IP_ADD_MEMBERSHIP )</p>
1360
1360
  <pre class="lines">
1361
1361
 
1362
1362
 
1363
+ 156
1364
+ 157
1363
1365
  158
1364
1366
  159
1365
1367
  160
1366
1368
  161
1367
1369
  162
1368
1370
  163
1369
- 164
1370
- 165
1371
- 166</pre>
1371
+ 164</pre>
1372
1372
  </td>
1373
1373
  <td>
1374
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 158</span>
1374
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 156</span>
1375
1375
 
1376
1376
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_add_membership'>ip_add_membership</span> <span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
1377
1377
  <span class='id identifier rubyid_address'>address</span> <span class='op'>||=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_remote_address'>remote_address</span><span class='period'>.</span><span class='id identifier rubyid_ip_address'>ip_address</span>
@@ -1416,18 +1416,18 @@ IP_DROP_MEMBERSHIP )</p>
1416
1416
  <pre class="lines">
1417
1417
 
1418
1418
 
1419
+ 172
1420
+ 173
1419
1421
  174
1420
1422
  175
1421
1423
  176
1422
1424
  177
1423
1425
  178
1424
1426
  179
1425
- 180
1426
- 181
1427
- 182</pre>
1427
+ 180</pre>
1428
1428
  </td>
1429
1429
  <td>
1430
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 174</span>
1430
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 172</span>
1431
1431
 
1432
1432
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_drop_membership'>ip_drop_membership</span> <span class='id identifier rubyid_address'>address</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
1433
1433
  <span class='id identifier rubyid_address'>address</span> <span class='op'>||=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_remote_address'>remote_address</span><span class='period'>.</span><span class='id identifier rubyid_ip_address'>ip_address</span>
@@ -1469,13 +1469,13 @@ IP_DROP_MEMBERSHIP )</p>
1469
1469
  <pre class="lines">
1470
1470
 
1471
1471
 
1472
+ 184
1473
+ 185
1472
1474
  186
1473
- 187
1474
- 188
1475
- 189</pre>
1475
+ 187</pre>
1476
1476
  </td>
1477
1477
  <td>
1478
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 186</span>
1478
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 184</span>
1479
1479
 
1480
1480
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_if'>ip_multicast_if</span>
1481
1481
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_IF</span><span class='rparen'>)</span><span class='period'>
@@ -1512,17 +1512,17 @@ IP_DROP_MEMBERSHIP )</p>
1512
1512
  <pre class="lines">
1513
1513
 
1514
1514
 
1515
+ 191
1516
+ 192
1515
1517
  193
1516
1518
  194
1517
1519
  195
1518
1520
  196
1519
1521
  197
1520
- 198
1521
- 199
1522
- 200</pre>
1522
+ 198</pre>
1523
1523
  </td>
1524
1524
  <td>
1525
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 193</span>
1525
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 191</span>
1526
1526
 
1527
1527
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_if='>ip_multicast_if=</span> <span class='id identifier rubyid_interface'>interface</span> <span class='op'>=</span> <span class='kw'>nil</span>
1528
1528
  <span class='id identifier rubyid_interface'>interface</span> <span class='op'>||=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.0.0.0</span><span class='tstring_end'>&#39;</span></span>
@@ -1568,14 +1568,14 @@ IP_MULTICAST_LOOP )</p>
1568
1568
  <pre class="lines">
1569
1569
 
1570
1570
 
1571
+ 215
1572
+ 216
1571
1573
  217
1572
1574
  218
1573
- 219
1574
- 220
1575
- 221</pre>
1575
+ 219</pre>
1576
1576
  </td>
1577
1577
  <td>
1578
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 217</span>
1578
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 215</span>
1579
1579
 
1580
1580
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_loop'>ip_multicast_loop</span>
1581
1581
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_LOOP</span><span class='rparen'>)</span><span class='period'>
@@ -1613,13 +1613,13 @@ IP_MULTICAST_LOOP )</p>
1613
1613
  <pre class="lines">
1614
1614
 
1615
1615
 
1616
+ 225
1617
+ 226
1616
1618
  227
1617
- 228
1618
- 229
1619
- 230</pre>
1619
+ 228</pre>
1620
1620
  </td>
1621
1621
  <td>
1622
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 227</span>
1622
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 225</span>
1623
1623
 
1624
1624
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_loop='>ip_multicast_loop=</span> <span class='id identifier rubyid_value'>value</span>
1625
1625
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_value'>value</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
@@ -1657,13 +1657,13 @@ IP_MULTICAST_TTL )</p>
1657
1657
  <pre class="lines">
1658
1658
 
1659
1659
 
1660
+ 202
1661
+ 203
1660
1662
  204
1661
- 205
1662
- 206
1663
- 207</pre>
1663
+ 205</pre>
1664
1664
  </td>
1665
1665
  <td>
1666
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 204</span>
1666
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 202</span>
1667
1667
 
1668
1668
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_ttl'>ip_multicast_ttl</span>
1669
1669
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_TTL</span><span class='rparen'>)</span><span class='period'>
@@ -1701,12 +1701,12 @@ IP_MULTICAST_TTL )</p>
1701
1701
  <pre class="lines">
1702
1702
 
1703
1703
 
1704
- 211
1705
- 212
1706
- 213</pre>
1704
+ 209
1705
+ 210
1706
+ 211</pre>
1707
1707
  </td>
1708
1708
  <td>
1709
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 211</span>
1709
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 209</span>
1710
1710
 
1711
1711
  <span class='kw'>def</span> <span class='id identifier rubyid_ip_multicast_ttl='>ip_multicast_ttl=</span> <span class='id identifier rubyid_value'>value</span>
1712
1712
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_MULTICAST_TTL</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_value'>value</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>C</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -1735,6 +1735,19 @@ IP_MULTICAST_TTL )</p>
1735
1735
  </div>
1736
1736
  <div class="tags">
1737
1737
 
1738
+ <p class="tag_title">Raises:</p>
1739
+ <ul class="raise">
1740
+
1741
+ <li>
1742
+
1743
+
1744
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1745
+
1746
+
1747
+
1748
+ </li>
1749
+
1750
+ </ul>
1738
1751
 
1739
1752
  </div><table class="source_code">
1740
1753
  <tr>
@@ -1742,17 +1755,17 @@ IP_MULTICAST_TTL )</p>
1742
1755
  <pre class="lines">
1743
1756
 
1744
1757
 
1758
+ 231
1759
+ 232
1745
1760
  233
1746
- 234
1747
- 235
1748
- 236</pre>
1761
+ 234</pre>
1749
1762
  </td>
1750
1763
  <td>
1751
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 233</span>
1764
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 231</span>
1752
1765
 
1753
1766
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_add_membership'>ipv6_add_membership</span>
1754
- <span class='comment'># TODO: Implement
1755
- </span> <span class='kw'>false</span>
1767
+ <span class='comment'># TODO: Implement IPv6
1768
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
1756
1769
  <span class='kw'>end</span></pre>
1757
1770
  </td>
1758
1771
  </tr>
@@ -1778,6 +1791,19 @@ IP_MULTICAST_TTL )</p>
1778
1791
  </div>
1779
1792
  <div class="tags">
1780
1793
 
1794
+ <p class="tag_title">Raises:</p>
1795
+ <ul class="raise">
1796
+
1797
+ <li>
1798
+
1799
+
1800
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1801
+
1802
+
1803
+
1804
+ </li>
1805
+
1806
+ </ul>
1781
1807
 
1782
1808
  </div><table class="source_code">
1783
1809
  <tr>
@@ -1785,17 +1811,17 @@ IP_MULTICAST_TTL )</p>
1785
1811
  <pre class="lines">
1786
1812
 
1787
1813
 
1814
+ 237
1815
+ 238
1788
1816
  239
1789
- 240
1790
- 241
1791
- 242</pre>
1817
+ 240</pre>
1792
1818
  </td>
1793
1819
  <td>
1794
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 239</span>
1820
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 237</span>
1795
1821
 
1796
1822
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_drop_membership'>ipv6_drop_membership</span>
1797
- <span class='comment'># TODO: Implement
1798
- </span> <span class='kw'>false</span>
1823
+ <span class='comment'># TODO: Implement IPv6
1824
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
1799
1825
  <span class='kw'>end</span></pre>
1800
1826
  </td>
1801
1827
  </tr>
@@ -1821,6 +1847,19 @@ IP_MULTICAST_TTL )</p>
1821
1847
  </div>
1822
1848
  <div class="tags">
1823
1849
 
1850
+ <p class="tag_title">Raises:</p>
1851
+ <ul class="raise">
1852
+
1853
+ <li>
1854
+
1855
+
1856
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1857
+
1858
+
1859
+
1860
+ </li>
1861
+
1862
+ </ul>
1824
1863
 
1825
1864
  </div><table class="source_code">
1826
1865
  <tr>
@@ -1828,17 +1867,17 @@ IP_MULTICAST_TTL )</p>
1828
1867
  <pre class="lines">
1829
1868
 
1830
1869
 
1870
+ 254
1871
+ 255
1831
1872
  256
1832
- 257
1833
- 258
1834
- 259</pre>
1873
+ 257</pre>
1835
1874
  </td>
1836
1875
  <td>
1837
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 256</span>
1876
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 254</span>
1838
1877
 
1839
1878
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_hops'>ipv6_multicast_hops</span>
1840
- <span class='comment'># TODO: Implement
1841
- </span> <span class='kw'>false</span>
1879
+ <span class='comment'># TODO: Implement IPv6
1880
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
1842
1881
  <span class='kw'>end</span></pre>
1843
1882
  </td>
1844
1883
  </tr>
@@ -1864,6 +1903,19 @@ IP_MULTICAST_TTL )</p>
1864
1903
  </div>
1865
1904
  <div class="tags">
1866
1905
 
1906
+ <p class="tag_title">Raises:</p>
1907
+ <ul class="raise">
1908
+
1909
+ <li>
1910
+
1911
+
1912
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1913
+
1914
+
1915
+
1916
+ </li>
1917
+
1918
+ </ul>
1867
1919
 
1868
1920
  </div><table class="source_code">
1869
1921
  <tr>
@@ -1871,16 +1923,18 @@ IP_MULTICAST_TTL )</p>
1871
1923
  <pre class="lines">
1872
1924
 
1873
1925
 
1926
+ 260
1927
+ 261
1874
1928
  262
1875
- 263
1876
- 264</pre>
1929
+ 263</pre>
1877
1930
  </td>
1878
1931
  <td>
1879
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 262</span>
1932
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 260</span>
1880
1933
 
1881
1934
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_hops='>ipv6_multicast_hops=</span> <span class='id identifier rubyid_value'>value</span>
1882
- <span class='comment'># TODO: Implement
1883
- </span><span class='kw'>end</span></pre>
1935
+ <span class='comment'># TODO: Implement IPv6
1936
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
1937
+ <span class='kw'>end</span></pre>
1884
1938
  </td>
1885
1939
  </tr>
1886
1940
  </table>
@@ -1905,6 +1959,19 @@ IP_MULTICAST_TTL )</p>
1905
1959
  </div>
1906
1960
  <div class="tags">
1907
1961
 
1962
+ <p class="tag_title">Raises:</p>
1963
+ <ul class="raise">
1964
+
1965
+ <li>
1966
+
1967
+
1968
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
1969
+
1970
+
1971
+
1972
+ </li>
1973
+
1974
+ </ul>
1908
1975
 
1909
1976
  </div><table class="source_code">
1910
1977
  <tr>
@@ -1912,17 +1979,17 @@ IP_MULTICAST_TTL )</p>
1912
1979
  <pre class="lines">
1913
1980
 
1914
1981
 
1982
+ 243
1983
+ 244
1915
1984
  245
1916
- 246
1917
- 247
1918
- 248</pre>
1985
+ 246</pre>
1919
1986
  </td>
1920
1987
  <td>
1921
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 245</span>
1988
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 243</span>
1922
1989
 
1923
1990
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_if'>ipv6_multicast_if</span>
1924
- <span class='comment'># TODO: Implement
1925
- </span> <span class='kw'>false</span>
1991
+ <span class='comment'># TODO: Implement IPv6
1992
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
1926
1993
  <span class='kw'>end</span></pre>
1927
1994
  </td>
1928
1995
  </tr>
@@ -1955,15 +2022,15 @@ IP_MULTICAST_TTL )</p>
1955
2022
  <pre class="lines">
1956
2023
 
1957
2024
 
1958
- 251
1959
- 252
1960
- 253</pre>
2025
+ 249
2026
+ 250
2027
+ 251</pre>
1961
2028
  </td>
1962
2029
  <td>
1963
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 251</span>
2030
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 249</span>
1964
2031
 
1965
2032
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_if='>ipv6_multicast_if=</span> <span class='id identifier rubyid_value'>value</span>
1966
- <span class='comment'># TODO: Implement
2033
+ <span class='comment'># TODO: Implement IPv6
1967
2034
  </span><span class='kw'>end</span></pre>
1968
2035
  </td>
1969
2036
  </tr>
@@ -1993,6 +2060,19 @@ IP_MULTICAST_TTL )</p>
1993
2060
  </div>
1994
2061
  <div class="tags">
1995
2062
 
2063
+ <p class="tag_title">Raises:</p>
2064
+ <ul class="raise">
2065
+
2066
+ <li>
2067
+
2068
+
2069
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
2070
+
2071
+
2072
+
2073
+ </li>
2074
+
2075
+ </ul>
1996
2076
 
1997
2077
  </div><table class="source_code">
1998
2078
  <tr>
@@ -2000,17 +2080,17 @@ IP_MULTICAST_TTL )</p>
2000
2080
  <pre class="lines">
2001
2081
 
2002
2082
 
2083
+ 266
2003
2084
  267
2004
2085
  268
2005
- 269
2006
- 270</pre>
2086
+ 269</pre>
2007
2087
  </td>
2008
2088
  <td>
2009
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 267</span>
2089
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 266</span>
2010
2090
 
2011
2091
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_loop'>ipv6_multicast_loop</span>
2012
- <span class='comment'># TODO: Implement
2013
- </span> <span class='kw'>false</span>
2092
+ <span class='comment'># TODO: Implement IPv6
2093
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
2014
2094
  <span class='kw'>end</span></pre>
2015
2095
  </td>
2016
2096
  </tr>
@@ -2036,6 +2116,19 @@ IP_MULTICAST_TTL )</p>
2036
2116
  </div>
2037
2117
  <div class="tags">
2038
2118
 
2119
+ <p class="tag_title">Raises:</p>
2120
+ <ul class="raise">
2121
+
2122
+ <li>
2123
+
2124
+
2125
+ <span class='type'>(<tt>NotImplementedError</tt>)</span>
2126
+
2127
+
2128
+
2129
+ </li>
2130
+
2131
+ </ul>
2039
2132
 
2040
2133
  </div><table class="source_code">
2041
2134
  <tr>
@@ -2043,16 +2136,18 @@ IP_MULTICAST_TTL )</p>
2043
2136
  <pre class="lines">
2044
2137
 
2045
2138
 
2139
+ 274
2046
2140
  275
2047
2141
  276
2048
2142
  277</pre>
2049
2143
  </td>
2050
2144
  <td>
2051
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 275</span>
2145
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 274</span>
2052
2146
 
2053
2147
  <span class='kw'>def</span> <span class='id identifier rubyid_ipv6_multicast_loop='>ipv6_multicast_loop=</span> <span class='id identifier rubyid_value'>value</span>
2054
- <span class='comment'># TODO: Implement
2055
- </span><span class='kw'>end</span></pre>
2148
+ <span class='comment'># TODO: Implement IPv6
2149
+ </span> <span class='id identifier rubyid_raise'>raise</span> <span class='const'>NotImplementedError</span>
2150
+ <span class='kw'>end</span></pre>
2056
2151
  </td>
2057
2152
  </tr>
2058
2153
  </table>
@@ -2125,18 +2220,34 @@ true. ( SO_LINGER )</p>
2125
2220
  immediately and try to deliver any data in the send buffer if value is
2126
2221
  true.</p>
2127
2222
 
2128
- <p>Args:</p>
2129
-
2130
- <pre class="code ruby"><code class="ruby">Time: Time in seconds to remain open before discarding data and
2131
- sending a RST packet.</code></pre>
2132
-
2133
2223
  <p>( SO_LINGER )</p>
2134
2224
 
2135
2225
 
2136
2226
  </div>
2137
2227
  </div>
2138
2228
  <div class="tags">
2229
+ <p class="tag_title">Parameters:</p>
2230
+ <ul class="param">
2231
+
2232
+ <li>
2233
+
2234
+ <span class='name'>time</span>
2235
+
2236
+
2237
+ <span class='type'>(<tt>Fixnum</tt>)</span>
2238
+
2239
+
2240
+
2241
+ &mdash;
2242
+ <div class='inline'>
2243
+ <p>Time in seconds to remain open before discarding data and sending a RST
2244
+ packet.</p>
2245
+ </div>
2246
+
2247
+ </li>
2139
2248
 
2249
+ </ul>
2250
+
2140
2251
 
2141
2252
  </div><table class="source_code">
2142
2253
  <tr>
@@ -2147,17 +2258,13 @@ true.</p>
2147
2258
  62
2148
2259
  63
2149
2260
  64
2150
- 65
2151
- 66
2152
- 67</pre>
2261
+ 65</pre>
2153
2262
  </td>
2154
2263
  <td>
2155
2264
  <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 62</span>
2156
2265
 
2157
2266
  <span class='kw'>def</span> <span class='id identifier rubyid_linger='>linger=</span> <span class='id identifier rubyid_enable'>enable</span><span class='comma'>,</span> <span class='label'>time:</span> <span class='int'>60</span>
2158
- <span class='comment'># TODO: Passing a kwarg doesn&#39;t work here because of the
2159
- </span> <span class='comment'># assignment operator. Causes parser error.
2160
- </span> <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_enable'>enable</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_enable'>enable</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
2267
+ <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_enable'>enable</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_enable'>enable</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
2161
2268
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_LINGER</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_param'>param</span><span class='comma'>,</span> <span class='id identifier rubyid_time'>time</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>ii</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
2162
2269
  <span class='kw'>end</span></pre>
2163
2270
  </td>
@@ -2240,14 +2347,14 @@ true.</p>
2240
2347
  <pre class="lines">
2241
2348
 
2242
2349
 
2350
+ 103
2351
+ 104
2243
2352
  105
2244
2353
  106
2245
- 107
2246
- 108
2247
- 109</pre>
2354
+ 107</pre>
2248
2355
  </td>
2249
2356
  <td>
2250
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 105</span>
2357
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 103</span>
2251
2358
 
2252
2359
  <span class='kw'>def</span> <span class='id identifier rubyid_no_delay'>no_delay</span>
2253
2360
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_NODELAY</span><span class='rparen'>)</span><span class='period'>
@@ -2285,13 +2392,13 @@ true.</p>
2285
2392
  <pre class="lines">
2286
2393
 
2287
2394
 
2395
+ 113
2396
+ 114
2288
2397
  115
2289
- 116
2290
- 117
2291
- 118</pre>
2398
+ 116</pre>
2292
2399
  </td>
2293
2400
  <td>
2294
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 115</span>
2401
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 113</span>
2295
2402
 
2296
2403
  <span class='kw'>def</span> <span class='id identifier rubyid_no_delay='>no_delay=</span> <span class='id identifier rubyid_value'>value</span>
2297
2404
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_value'>value</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
@@ -2328,13 +2435,13 @@ true.</p>
2328
2435
  <pre class="lines">
2329
2436
 
2330
2437
 
2438
+ 145
2439
+ 146
2331
2440
  147
2332
- 148
2333
- 149
2334
- 150</pre>
2441
+ 148</pre>
2335
2442
  </td>
2336
2443
  <td>
2337
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 147</span>
2444
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 145</span>
2338
2445
 
2339
2446
  <span class='kw'>def</span> <span class='id identifier rubyid_recork'>recork</span>
2340
2447
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_TCP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>TCP_CORK</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>i</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -2375,14 +2482,14 @@ true.</p>
2375
2482
  <pre class="lines">
2376
2483
 
2377
2484
 
2485
+ 71
2486
+ 72
2378
2487
  73
2379
2488
  74
2380
- 75
2381
- 76
2382
- 77</pre>
2489
+ 75</pre>
2383
2490
  </td>
2384
2491
  <td>
2385
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 73</span>
2492
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 71</span>
2386
2493
 
2387
2494
  <span class='kw'>def</span> <span class='id identifier rubyid_reuse_addr'>reuse_addr</span>
2388
2495
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SOL_SOCKET</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>SO_REUSEADDR</span><span class='rparen'>)</span><span class='period'>
@@ -2420,13 +2527,13 @@ true.</p>
2420
2527
  <pre class="lines">
2421
2528
 
2422
2529
 
2530
+ 81
2531
+ 82
2423
2532
  83
2424
- 84
2425
- 85
2426
- 86</pre>
2533
+ 84</pre>
2427
2534
  </td>
2428
2535
  <td>
2429
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 83</span>
2536
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 81</span>
2430
2537
 
2431
2538
  <span class='kw'>def</span> <span class='id identifier rubyid_reuse_addr='>reuse_addr=</span> <span class='id identifier rubyid_value'>value</span>
2432
2539
  <span class='id identifier rubyid_param'>param</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='op'>!</span><span class='op'>!</span><span class='id identifier rubyid_value'>value</span> <span class='op'>&amp;&amp;</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>!=</span> <span class='int'>0</span><span class='rparen'>)</span> <span class='op'>?</span> <span class='int'>1</span> <span class='op'>:</span> <span class='int'>0</span>
@@ -2467,13 +2574,13 @@ true.</p>
2467
2574
  <pre class="lines">
2468
2575
 
2469
2576
 
2577
+ 88
2578
+ 89
2470
2579
  90
2471
- 91
2472
- 92
2473
- 93</pre>
2580
+ 91</pre>
2474
2581
  </td>
2475
2582
  <td>
2476
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 90</span>
2583
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 88</span>
2477
2584
 
2478
2585
  <span class='kw'>def</span> <span class='id identifier rubyid_ttl'>ttl</span>
2479
2586
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_getsockopt'>getsockopt</span><span class='lparen'>(</span><span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_TTL</span><span class='rparen'>)</span><span class='period'>
@@ -2510,12 +2617,12 @@ true.</p>
2510
2617
  <pre class="lines">
2511
2618
 
2512
2619
 
2513
- 99
2514
- 100
2515
- 101</pre>
2620
+ 97
2621
+ 98
2622
+ 99</pre>
2516
2623
  </td>
2517
2624
  <td>
2518
- <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 99</span>
2625
+ <pre class="code"><span class="info file"># File 'lib/ionian/extension/socket.rb', line 97</span>
2519
2626
 
2520
2627
  <span class='kw'>def</span> <span class='id identifier rubyid_ttl='>ttl=</span> <span class='id identifier rubyid_value'>value</span>
2521
2628
  <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_setsockopt'>setsockopt</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IPPROTO_IP</span><span class='comma'>,</span> <span class='op'>::</span><span class='const'>Socket</span><span class='op'>::</span><span class='const'>IP_TTL</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='id identifier rubyid_value'>value</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_pack'>pack</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>i</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
@@ -2530,7 +2637,7 @@ true.</p>
2530
2637
  </div>
2531
2638
 
2532
2639
  <div id="footer">
2533
- Generated on Mon Jan 26 21:45:48 2015 by
2640
+ Generated on Wed Jan 28 16:07:20 2015 by
2534
2641
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2535
2642
  0.8.7.6 (ruby-2.1.5).
2536
2643
  </div>