Revert "[DOC] Make undocumented socket constans nodoc"

This reverts commit cbda94edd80b0f664eda927f9ce9405b2074633a, because
`:nodoc:` does not work for constants.

In the case of `rb_define_const`, RDoc parses the preceeding comment
as in `"/* definition: comment */"` form.
This commit is contained in:
Nobuyoshi Nakada 2023-12-17 22:37:15 +09:00
parent aab74eafde
commit 7bfa1c3dc9
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -38,7 +38,7 @@ opt.parse!
h = {}
COMMENTS = Hash.new(":nodoc:")
COMMENTS = Hash.new { |h, name| h[name] = name }
DATA.each_line {|s|
name, default_value, comment = s.chomp.split(/\s+/, 3)