module Rouge
def self.version
def self.version "0.0.14" end
def highlight(text, lexer, formatter)
def highlight(text, lexer, formatter) lexer = Lexer.find(lexer) unless lexer.respond_to? :lex raise "unknown lexer #{lexer}" unless lexer formatter.render(lexer.lex(text)) end