method
remove_private_comments
v1_8_6_287 -
Show 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