better docs for write_page hash args
This commit is contained in:
+4
-3
@@ -36,9 +36,10 @@ module Gollum
|
|||||||
#
|
#
|
||||||
# name - The String name of the page.
|
# name - The String name of the page.
|
||||||
# data - The new String contents of the page.
|
# data - The new String contents of the page.
|
||||||
# commit - The commit Hash details { :message => String,
|
# commit - The commit Hash details:
|
||||||
# :author => String,
|
# :message - The String commit message.
|
||||||
# :email => String }
|
# :author - The String author full name.
|
||||||
|
# :email - The String email address.
|
||||||
#
|
#
|
||||||
# Returns the String SHA1 of the newly written version.
|
# Returns the String SHA1 of the newly written version.
|
||||||
def write_page(name, format, data, commit = {})
|
def write_page(name, format, data, commit = {})
|
||||||
|
|||||||
Reference in New Issue
Block a user