3 # Define if the module has or not the Class in this module
4 def self.class_exist? str
6 self.class_eval str.to_s
13 # Class For define a model of Server
18 # Class for the server Afrinic
19 class Afrinic < Server
22 @server = 'whois.afrinic.net'
26 # Class for the Server Apnic
30 @server = 'whois.apnic.net'
34 # Class for the Server Ripe
37 @server = 'whois.ripe.net'
41 # Class for the Server Arin
44 @server = 'whois.arin.net'
48 # Class for the Server Lacnic
51 @server = 'whois.lacnic.net'
55 # Class for Server whois.nic.or.kr
58 @server = 'whois.nic.or.kr'
62 # Class for Server whois.nic.ad.jp
65 @server = 'whois.nic.ad.jp'
69 # Class for Server whois.nic.br
72 @server = 'whois.nic.br'
76 # Class for the teredo RFC 4773
83 # Class for 6To4 RFC 3056
84 class Ipv6ToIpv4 < Server
90 # Class for server whois.kornet.net
93 @server = 'whois.kornet.net'
97 # Class for server whois.v6nic.net
100 @server = 'whois.v6nic.net'
104 # Class for server whois.twnic.net
107 @server = 'whois.twnic.net'
111 # Class for server whois.verio.net
114 @server = 'whois.verio.net'
118 # Class for server whois.6bone.net
119 class Ipv6Bone < Server
121 @server = 'whois.6bone.net'
125 class Ginntt < Server
127 @server = 'rwhois.gin.ntt.net'