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:
parent
e191fde02e
commit
1811324f30
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue