remove_private_comments(text)
Removes comments wrapped in --/++
# File lib/rdoc/parser/simple.rb, line 37 def remove_private_comments text text.gsub(/^--\n.*?^\+\+/, '').sub(/^--\n.*/, '') end