Fix docs for File#populate.

This commit is contained in:
trans
2012-06-22 08:45:57 -04:00
parent 754485c306
commit f12c3fe06f
+3 -3
View File
@@ -39,12 +39,12 @@ module Gollum
@blob.mime_type
end
# Populate the Page with information from the Blob.
# Populate the File with information from the Blob.
#
# blob - The Grit::Blob that contains the info.
# path - The String directory path of the page file.
# path - The String directory path of the file.
#
# Returns the populated Gollum::Page.
# Returns the populated Gollum::File.
def populate(blob, path=nil)
@blob = blob
@path = "#{path}/#{blob.name}"[1..-1]