lib/whois/record/parser/whois.nic.tr.rb in whois-2.5.1 vs lib/whois/record/parser/whois.nic.tr.rb in whois-2.6.0
- old
+ new
@@ -62,10 +62,11 @@
property_supported :nameservers do
if content_for_scanner =~ /Domain Servers:\n((.+\n)+)\n/
$1.split("\n").map do |line|
- Record::Nameserver.new(*line.split(/\s+/))
+ name, ipv4 = line.split(/\s+/)
+ Record::Nameserver.new(:name => name, :ipv4 => ipv4)
end
end
end
end