stub of Repo#formatted_page

This commit is contained in:
Tom Preston-Werner
2010-04-07 17:16:02 -07:00
parent fcd821cf02
commit c8d9b351e2
4 changed files with 26 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
module Gollum
class Page
end
end
+9
View File
@@ -11,5 +11,14 @@ module Gollum
self.path = path
self.repo = Grit::Repo.new(path)
end
# Get the formatted page for a given page name.
#
# name - The String name of the wiki page.
#
# Returns a Gollum::Page or nil if no matching page was found.
def formatted_page(name)
Page.new()
end
end
end