Revision: 42804
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 10, 2011 22:41 by Shamaoke
Initial Code
# encoding = utf-8 require 'net/ping' Net::Ping::HTTP.new('http://example.com') do |http| http.ping ? puts('ok!') : puts(http.exception) end
Initial URL
Initial Description
Initial Title
Using net http ping
Initial Tags
ruby, Net
Initial Language
Ruby