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
|
def hash
|
||||||
name.hash
|
name.hash
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def inspect
|
||||||
|
"#<#{self.class} name=#{name}>"
|
||||||
|
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