From d9bd7ccb226b80a3758af9a5dad396fb8c719313 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Sat, 24 Nov 2012 20:40:46 +0000 Subject: Removed test/driver-code. --- lib/custodian/util/dns.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'lib/custodian/util') diff --git a/lib/custodian/util/dns.rb b/lib/custodian/util/dns.rb index fca3f95..a26cc96 100644 --- a/lib/custodian/util/dns.rb +++ b/lib/custodian/util/dns.rb @@ -65,17 +65,3 @@ module Custodian end end - - - - -if __FILE__ == $0 then - - %w( ssh.steve.org.uk ipv6.steve.org.uk ).each do |name| - puts "Hostname test: #{name} #{Custodian::Util::DNS.hostname_to_ip(name) }" - end - - %w( 80.68.85.46 80.68.85.48 2001:41c8:125:46::22 ).each do |name| - puts "Hostname test: #{name} #{Custodian::Util::DNS.ip_to_hostname(name) }" - end -end -- cgit v1.2.1