ClassHash | = | {} |
ClassValue | = | nil |
Standard (class generic) RRs | ||
ClassInsensitiveTypes | = | [ NS, CNAME, SOA, PTR, HINFO, MINFO, MX, TXT, ANY |
# File resolv.rb, line 1347 def self.get_class(type_value, class_value) return ClassHash[[type_value, class_value]] || Generic.create(type_value, class_value) end
# File resolv.rb, line 1328 def ==(other) return self.class == other.class && self.instance_variables == other.instance_variables && self.instance_variables.collect {|name| self.instance_eval name} == other.instance_variables.collect {|name| other.instance_eval name} end