diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index 4146738b59..8a1ecc612c 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -1979,7 +1979,7 @@ module RDoc # Look for a 'call-seq' in the comment, and override the # normal parameter stuff - if comment.sub!(/call-seq:(.*?)^\s*\#?\s*$/m, '') + if comment.sub!(/:?call-seq:(.*?)^\s*\#?\s*$/m, '') seq = $1 seq.gsub!(/^\s*\#\s*/, '') meth.call_seq = seq