diff --git a/lib/linguist/language.rb b/lib/linguist/language.rb index 8cf8089b..724f2c9f 100644 --- a/lib/linguist/language.rb +++ b/lib/linguist/language.rb @@ -106,6 +106,10 @@ module Linguist lexer.colorize_without_wrapper(text) end + def to_s + name + end + def ==(other) eql?(other) end