method

remove_private_comments

ruby latest stable - Class: RDoc::SimpleParser

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)
public

No documentation available.

# File lib/rdoc/parsers/parse_simple.rb, line 37
    def remove_private_comments(comment)
      comment.gsub(/^--.*?^\+\+/m, '').sub(/^--.*/m, '')
    end