method
remove_private_comments
v1_9_1_378 -
Show latest stable
- Class:
RDoc::Parser::Simple
remove_private_comments(comment)public
No documentation available.
# File lib/rdoc/parser/simple.rb, line 33
def remove_private_comments(comment)
comment.gsub(/^--\n.*?^\+\+/, '').sub(/^--\n.*/, '')
end