Add Language#to_s

This commit is contained in:
Joshua Peek
2011-05-24 11:45:57 -05:00
parent b5ef077778
commit b78bdc6f8e

View File

@@ -106,6 +106,10 @@ module Linguist
lexer.colorize_without_wrapper(text) lexer.colorize_without_wrapper(text)
end end
def to_s
name
end
def ==(other) def ==(other)
eql?(other) eql?(other)
end end