Class: Caramelize::HealthChecks::HomePageCheck
- Inherits:
-
Object
- Object
- Caramelize::HealthChecks::HomePageCheck
- Defined in:
- lib/caramelize/health_checks/home_page_check.rb
Instance Attribute Summary collapse
-
#gollum ⇒ Object
readonly
Returns the value of attribute gollum.
Instance Method Summary collapse
- #check ⇒ Object
-
#initialize(gollum) ⇒ HomePageCheck
constructor
A new instance of HomePageCheck.
Constructor Details
#initialize(gollum) ⇒ HomePageCheck
Returns a new instance of HomePageCheck.
8 9 10 |
# File 'lib/caramelize/health_checks/home_page_check.rb', line 8 def initialize(gollum) @gollum = gollum end |
Instance Attribute Details
#gollum ⇒ Object (readonly)
Returns the value of attribute gollum.
6 7 8 |
# File 'lib/caramelize/health_checks/home_page_check.rb', line 6 def gollum @gollum end |
Instance Method Details
#check ⇒ Object
12 13 14 |
# File 'lib/caramelize/health_checks/home_page_check.rb', line 12 def check puts 'Home.md missing' unless has_home_page? end |