# File lib/whois/answer/parser/whois.iana.org.rb, line 85 def contact(element, type) node(element) do |raw| if raw["organisation"] != "Not assigned" address = (raw["address"] || "").split("\n") Answer::Contact.new( :type => type, :name => raw["name"], :organization => raw["organisation"], :address => address[0], :city => address[1], :zip => address[2], :country => address[3], :phone => raw["phone"], :fax => raw["fax-no"], :email => raw["e-mail"] ) end end end