mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Add Language hash
This commit is contained in:
@@ -113,6 +113,10 @@ module Linguist
|
|||||||
def eql?(other)
|
def eql?(other)
|
||||||
equal?(other)
|
equal?(other)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def hash
|
||||||
|
name.hash
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))
|
popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))
|
||||||
|
|||||||
Reference in New Issue
Block a user