Class: Caramelize::HealthCheck
- Inherits:
-
Object
- Object
- Caramelize::HealthCheck
- Defined in:
- lib/caramelize/health_check.rb
Constant Summary collapse
- DEFAULT_GOLLUM_HOME_TITLE =
'Home'.freeze
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#wiki_path ⇒ Object
readonly
Returns the value of attribute wiki_path.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(wiki_path, options = {}) ⇒ HealthCheck
constructor
A new instance of HealthCheck.
Constructor Details
#initialize(wiki_path, options = {}) ⇒ HealthCheck
Returns a new instance of HealthCheck.
7 8 9 10 |
# File 'lib/caramelize/health_check.rb', line 7 def initialize(wiki_path, ={}) @wiki_path = wiki_path @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/caramelize/health_check.rb', line 3 def @options end |
#wiki_path ⇒ Object (readonly)
Returns the value of attribute wiki_path.
3 4 5 |
# File 'lib/caramelize/health_check.rb', line 3 def wiki_path @wiki_path end |
Instance Method Details
#execute ⇒ Object
12 13 14 15 16 17 18 19 20 21 |
# File 'lib/caramelize/health_check.rb', line 12 def execute #puts page_paths.sort.inspect check_pages #puts intra_wiki_paths.sort.inspect puts "\n # Pages not linked within Wiki:" puts page_paths_without_intra_wiki_path.sort.inspect end |