Add colorize

This commit is contained in:
Joshua Peek
2011-05-20 14:01:12 -05:00
parent cf9dd8f8fd
commit bebae09fde
6 changed files with 55 additions and 0 deletions

View File

@@ -77,6 +77,10 @@ module Linguist
!popular?
end
def colorize(text)
lexer.colorize(text)
end
def ==(other)
eql?(other)
end