Class: CheckHost
- Inherits:
-
Object
- Object
- CheckHost
- Defined in:
- lib/check_host.rb
Class Method Summary collapse
-
.run(host, ip) ⇒ Boolean
run @param: host [String] the host name @param: ip [String] the host IP address.
Class Method Details
.run(host, ip) ⇒ Boolean
run @param: host [String] the host name @param: ip [String] the host IP address
8 9 10 11 |
# File 'lib/check_host.rb', line 8 def self.run(host, ip) c = CheckHostIp.new(host, ip) c.notify end |