Use path for Generated?

This commit is contained in:
Arfon Smith
2015-01-08 14:03:35 -06:00
parent 7e319b797f
commit ec28ea299f
3 changed files with 16 additions and 1 deletions

View File

@@ -24,6 +24,10 @@ module Linguist
@mode = mode
end
def path
name
end
def git_attributes
@git_attributes ||= repository.fetch_attributes(
name, GIT_ATTR, GIT_ATTR_FLAGS)