diff --git a/ext/socket/mkconstants.rb b/ext/socket/mkconstants.rb index 4020bf02e6..557a3df611 100644 --- a/ext/socket/mkconstants.rb +++ b/ext/socket/mkconstants.rb @@ -38,7 +38,7 @@ opt.parse! h = {} -COMMENTS = Hash.new { |h, name| h[name] = name } +COMMENTS = Hash.new(":nodoc:") DATA.each_line {|s| name, default_value, comment = s.chomp.split(/\s+/, 3)