From 9aaeb5331c80b315e94f64e048ba3d5a90496fcd Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 17 Feb 2009 16:29:43 +0000 Subject: add comments for rdoc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/socket/option.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/socket/option.c') diff --git a/ext/socket/option.c b/ext/socket/option.c index 06ec5f5c8..5be3eb5e4 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); -- cgit