From: Jamis Buck Date: 2004-09-09T07:52:52+09:00 Subject: rdoc bug? I'm using: $ ruby -v ruby 1.8.2 (2004-07-29) [i686-linux] RDoc does not seem to be picking up modules defined with "rb_define_modules_under". The following patch fixes it--has this already been addressed? (BTW: I'm not sure if there is a better way to fix the problem or not, but this does fix it, for me.) --- /usr/lib/ruby/1.8/rdoc/parsers/parse_c.rb 2004-09-08 16:50:10.335660536 -0600 +++ fixed_parse_c.rb 2004-09-08 16:50:36.354705040 -0600 @@ -271,10 +271,10 @@ end @body.scan(/(\w+)\s* = \s*rb_define_module_under - \( + \s*\( \s*(\w+), \s*"(\w+)" - \)/mx) do + \s*\)/mx) do |var_name, in_module, class_name| handle_class_module(var_name, "module", class_name, nil, in_module) -- Jamis Buck jgb3@email.byu.edu http://www.jamisbuck.org/jamis "I use octal until I get to 8, and then I switch to decimal."