mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Nicer Language inspect
This commit is contained in:
@@ -445,6 +445,10 @@ module Linguist
|
||||
def hash
|
||||
name.hash
|
||||
end
|
||||
|
||||
def inspect
|
||||
"#<#{self.class} name=#{name}>"
|
||||
end
|
||||
end
|
||||
|
||||
popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))
|
||||
|
||||
Reference in New Issue
Block a user