method

remove_private_comments

ruby latest stable - Class: RDoc::C_Parser

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

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