From 1811324f30e564181bd543e0df3d1085edc86d42 Mon Sep 17 00:00:00 2001 From: dave Date: Mon, 12 Jul 2004 17:21:21 +0000 Subject: [PATCH] Allow optional : before call-seq: git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/parsers/parse_rb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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