ext: fix documentation for C ext-defined classes
commita442f2300df950ba410134787168af271c7abfb1
authorEric Wong <e@80x24.org>
Wed, 1 Mar 2017 02:34:24 +0000 (1 02:34 +0000)
committerEric Wong <e@80x24.org>
Wed, 1 Mar 2017 02:41:58 +0000 (1 02:41 +0000)
treeba9fe7c536b1292d06641683b2cef42f9cce6e99
parent6f73bb5cf0919c669aa4432626a5e12ec4ddab6b
ext: fix documentation for C ext-defined classes

Defining the "Raindrops" class explicitly helps RDoc find
subclasses for documentation, and ought to reduce the binary
size slightly due to the removal of rb_intern calls.

Furthermore, use "Socket" to ensure the base class for
Raindrops::InetDiagSocket is documented properly in RDoc.
ext/raindrops/linux_inet_diag.c
ext/raindrops/linux_tcp_info.c