method
remove_private_comments
ruby latest stable - Class:
RDoc::SimpleParser
remove_private_comments(comment)public
No documentation available.
# File lib/rdoc/parsers/parse_simple.rb, line 37
def remove_private_comments(comment)
comment.gsub(/^--.*?^\+\+/m, '').sub(/^--.*/m, '')
end