diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-17 16:29:43 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-17 16:29:43 +0000 |
commit | 9aaeb5331c80b315e94f64e048ba3d5a90496fcd (patch) | |
tree | 80300cf2ccc031eadf4a19b587f7991ba9ab6472 /ext/socket/option.c | |
parent | 84ce7b38d112432707d2761a49daa94fe87936d9 (diff) | |
download | ruby-9aaeb5331c80b315e94f64e048ba3d5a90496fcd.tar.gz ruby-9aaeb5331c80b315e94f64e048ba3d5a90496fcd.tar.xz ruby-9aaeb5331c80b315e94f64e048ba3d5a90496fcd.zip |
add comments for rdoc.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |