Commit 2a631ea5 authored by Fabio Pelosin's avatar Fabio Pelosin

minor fixes

parent 46ea3110
...@@ -54,8 +54,8 @@ module Pod ...@@ -54,8 +54,8 @@ module Pod
if config.doc? if config.doc?
if pod.generate_documentation(config.doc_install?, config.doc_force? ,config.verbose?) if pod.generate_documentation(config.doc_install?, config.doc_force? ,config.verbose?)
action = config.doc_install ? 'installed' : 'generated' action = config.doc_install ? 'Installed' : 'Generated'
puts " #{action} documentation" unless config.silent? puts "-> #{action} documentation" unless config.silent?
end end
end end
......
...@@ -77,9 +77,7 @@ module Pod ...@@ -77,9 +77,7 @@ module Pod
# Generates and installs the documentation of the pod. # Generates and installs the documentation of the pod.
# #
# It returns a human redable string containing the source used # It returns true if the documentation was generated/installed
# for the documentation. If no source was available it returns
# nil.
# #
def generate_documentation(install, force = true, verbose = false) def generate_documentation(install, force = true, verbose = false)
documentation = specification.documentation ? specification.documentation : {} documentation = specification.documentation ? specification.documentation : {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment