class Rouge::Guessers::Mimetype
def filter(lexers)
def filter(lexers) lexers.select { |lexer| lexer.mimetypes.include? @mimetype } end
def initialize(mimetype)
def initialize(mimetype) @mimetype = mimetype end
def filter(lexers) lexers.select { |lexer| lexer.mimetypes.include? @mimetype } end
def initialize(mimetype) @mimetype = mimetype end