# File lib/net/ping/ping.rb, line 79 def ping(host = @host) raise ArgumentError, 'no host specified' unless host @exception = nil @warning = nil end