diff --git a/lib/linguist/language.rb b/lib/linguist/language.rb index 743fd30b..8cf8089b 100644 --- a/lib/linguist/language.rb +++ b/lib/linguist/language.rb @@ -113,6 +113,10 @@ module Linguist def eql?(other) equal?(other) end + + def hash + name.hash + end end popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))