mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add Language#to_s
This commit is contained in:
@@ -106,6 +106,10 @@ module Linguist
|
||||
lexer.colorize_without_wrapper(text)
|
||||
end
|
||||
|
||||
def to_s
|
||||
name
|
||||
end
|
||||
|
||||
def ==(other)
|
||||
eql?(other)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user