Class | Net::Ping::External |
In: |
lib/net/ping/external.rb
|
Parent: | Ping |
The Ping::External class encapsulates methods for external (system) pings.
Pings the host using your system‘s ping utility and checks for any errors or warnings. Returns true if successful, or false if not.
If the ping failed then the Ping::External#exception method should contain a string indicating what went wrong. If the ping succeeded then the Ping::External#warning method may or may not contain a value.