class CheckHost
Public Class Methods
run(host, ip)
click to toggle source
run @param: host [String] the host name @param: ip [String] the host IP address @return [Boolean] true if notification has taken place, otherwise returns false
# File lib/check_host.rb, line 8 def self.run(host, ip) c = CheckHostIp.new(host, ip) c.notify end