Sha256: 82ddfaa068255cbe401721708945e7a0397a9a29537df5165a32f0db1776ceef

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

require_relative '../lib/http_ping'

url = 'https://gitlab.com'

puts  "HTTP Ping to -->  " + url

h_ping = HttpPing::H_PING.new(url)
puts "Can ping : " + h_ping.ping?.to_s
puts "Duration : " + h_ping.duration.to_s

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
HttpPing-0.1.0 example/example.rb