use new-style Public: instead of Private: to denote API

This commit is contained in:
Tom Preston-Werner
2010-04-17 19:01:43 -04:00
parent 9037b06e62
commit c4fc92dfaa
3 changed files with 27 additions and 28 deletions
+4 -4
View File
@@ -1,6 +1,6 @@
module Gollum
class File
# Initialize a file.
# Public: Initialize a file.
#
# wiki - The Gollum::Wiki in question.
#
@@ -10,14 +10,14 @@ module Gollum
@blob = nil
end
# The raw contents of the page.
# Public: The raw contents of the page.
#
# Returns the String data.
def raw_data
@blob.data rescue nil
end
# The Grit::Commit version of the file.
# Public: The Grit::Commit version of the file.
attr_reader :version
#########################################################################
@@ -26,7 +26,7 @@ module Gollum
#
#########################################################################
# Private: Find a file in the given Gollum repo.
# Find a file in the given Gollum repo.
#
# name - The full String path.
# version - The String version ID to find.