Method: Net::Ping#exception
- Defined in:
- lib/external/ping/ping.rb
#exception ⇒ Object (readonly)
If a ping fails, this value is set to the error that occurred which caused it to fail.
29 30 31 |
# File 'lib/external/ping/ping.rb', line 29 def exception @exception end |