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