1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Allow optional : before call-seq:

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2004-07-12 17:21:21 +00:00
parent e191fde02e
commit 1811324f30

View file

@ -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