Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
remove_private_comments(text)
public
Removes comments wrapped in --/++
# File lib/rdoc/parser/simple.rb, line 37
def remove_private_comments text
text.gsub(/^--\n.*?^\+\+/, '').sub(/^--\n.*/, '')
end