We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58eee42 commit d23cc03Copy full SHA for d23cc03
lib/rdoc/parser/c.rb
@@ -749,7 +749,7 @@ def find_class_comment class_name, class_mod
749
([\w\.\s]+\s* = \s+)?rb_define_(class|module)[\t (]*?"(#{class_name})"%xm then
750
comment = $1
751
elsif @content =~ %r%((?>/\*.*?\*/\s+))
752
- ([\w\. \t]+ = \s+)?rb_define_(class|module)_under[\t (]*?"(#{class_name.split('::').last})"%xm then
+ ([\w\. \t]+ = \s+)?rb_define_(class|module)_under[\t\w, (]*?"(#{class_name.split('::').last})"%xm then
753
754
else
755
comment = ''
0 commit comments