From 6dc55d916a08cd7ac7e17bbff65e843916308e2f Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Fri, 16 Apr 2010 12:32:21 -0400 Subject: [PATCH] better docs for write_page hash args --- lib/gollum/wiki.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/gollum/wiki.rb b/lib/gollum/wiki.rb index 962d9257..bdf3e383 100644 --- a/lib/gollum/wiki.rb +++ b/lib/gollum/wiki.rb @@ -36,9 +36,10 @@ module Gollum # # name - The String name of the page. # data - The new String contents of the page. - # commit - The commit Hash details { :message => String, - # :author => String, - # :email => String } + # commit - The commit Hash details: + # :message - The String commit message. + # :author - The String author full name. + # :email - The String email address. # # Returns the String SHA1 of the newly written version. def write_page(name, format, data, commit = {})