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:
parent
aab74eafde
commit
7bfa1c3dc9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user