parse_files_matching(regexp)
Record which file types this parser can understand.
It is ok to call this multiple times.
# File lib/rdoc/parser.rb, line 200 def self.parse_files_matching(regexp) RDoc::Parser.parsers.unshift [regexp, self] end