diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-21 10:50:52 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-21 10:50:52 +0000 |
commit | daa739876f1bbd14b043a6361e9d434d324afff5 (patch) | |
tree | 807a9e89308c79c1681d89aed801ff6478f63c5a /ext/socket/option.c | |
parent | cce4892c1fb4a6690e230bf90c3d7973acbf14d8 (diff) | |
download | ruby-daa739876f1bbd14b043a6361e9d434d324afff5.tar.gz |
* ext/socket: make sources rdoc friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r-- | ext/socket/option.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index d1d557db14..89265b78ad 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -658,12 +658,12 @@ sockopt_unpack(VALUE self, VALUE template) return rb_funcall(sockopt_data(self), rb_intern("unpack"), 1, template); } +/* + * Document-class: ::Socket::Option + */ 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); |