Module: HealthCheck

Defined in:
lib/health_check.rb,
lib/health_check/utils.rb,
lib/health_check/version.rb,
lib/health_check/health_check_controller.rb

Overview

Copyright © 2010-2013 Ian Heggie, released under the MIT license. See MIT-LICENSE for details.

Defined Under Namespace

Classes: Engine, HealthCheckController, Utils

Constant Summary collapse

VERSION =
"1.4.3"

Class Method Summary collapse

Class Method Details

.add_custom_check(&block) ⇒ Object



34
35
36
# File 'lib/health_check.rb', line 34

def self.add_custom_check(&block)
  custom_checks << block
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (HealthCheck)

    the object that the method was called on



38
39
40
# File 'lib/health_check.rb', line 38

def self.setup
  yield self
end