Method: AE::Check::Proc#initialize

Defined in:
lib/ae/check.rb

#initialize(options = {}, &check) ⇒ Proc

Setup new check procedure.



14
15
16
17
18
# File 'lib/ae/check.rb', line 14

def initialize(options={}, &check)
  @name    = options[:name]
  @message = options[:message] || @name
  @check   = check
end