method
remove_private_comments
v1_8_7_72 -
Show latest stable
- Class:
RDoc::C_Parser
remove_private_comments(comment)private
No documentation available.
# File lib/rdoc/parsers/parse_c.rb, line 217
def remove_private_comments(comment)
comment.gsub!(/\/?\*--(.*?)\/?\*\+\+/m, '')
comment.sub!(/\/?\*--.*/m, '')
end