summaryrefslogtreecommitdiff
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index 06ec5f5c80..5be3eb5e4c 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -562,6 +562,9 @@ sockopt_unpack(VALUE self, VALUE template)
void
Init_sockopt(void)
{
+ /* for rdoc */
+ /* rb_cSocket = rb_define_class("Socket", rb_cBasicSocket); */
+
rb_cSockOpt = rb_define_class_under(rb_cSocket, "Option", rb_cObject);
rb_define_method(rb_cSockOpt, "initialize", sockopt_initialize, 4);
rb_define_method(rb_cSockOpt, "family", sockopt_family_m, 0);