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

@@ -32,6 +32,17 @@ module Linguist
# Returns a String
attr_reader :name
# Public: Filename with Path
#
# Examples
#
# FileBlob.new("/path/to/linguist/lib/linguist.rb").path
# # => "/path/to/linguist/lib/linguist.rb"
#
# Returns a String
attr_reader :path
# Public: Read file permissions
#
# Returns a String like '100644'