From f12c3fe06fe09b8f51ccf5c1824178d351ca287d Mon Sep 17 00:00:00 2001 From: trans Date: Fri, 22 Jun 2012 08:45:57 -0400 Subject: [PATCH] Fix docs for File#populate. --- lib/gollum/file.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gollum/file.rb b/lib/gollum/file.rb index 48a470db..f10e6bd0 100644 --- a/lib/gollum/file.rb +++ b/lib/gollum/file.rb @@ -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]