This method is deprecated or moved on the latest stable version.
The last existing version (v1_8_7_330) is shown here.
find_modifiers(comment, meth_obj)
private
If the comment block contains a section that looks like:
use it for the parameters.
# File lib/rdoc/parsers/parse_c.rb, line 694
def find_modifiers(comment, meth_obj)
if comment.sub!(/:nodoc:\s*^\s*\*?\s*$/m, '') or
comment.sub!(/\A\/\*\s*:nodoc:\s*\*\/\Z/, '')
meth_obj.document_self = false
end
if comment.sub!(/call-seq:(.*?)^\s*\*?\s*$/m, '') or
comment.sub!(/\A\/\*\s*call-seq:(.*?)\*\/\Z/, '')
seq = $1
seq.gsub!(/^\s*\*\s*/, '')
meth_obj.call_seq = seq
end
end