mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add comments for rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b058a1c2a
commit
9bd0ecd917
2 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue