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)
|
lexer.colorize_without_wrapper(text)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def to_s
|
||||||
|
name
|
||||||
|
end
|
||||||
|
|
||||||
def ==(other)
|
def ==(other)
|
||||||
eql?(other)
|
eql?(other)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user