зеркало из https://github.com/github/ruby.git
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:
Родитель
e191fde02e
Коммит
1811324f30
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче