# File lib/net/dns/header.rb, line 255 def self.parse(arg) if arg.kind_of? String o = allocate o.send(:new_from_binary, arg) o else raise ArgumentError, "Wrong argument class `#{arg.class}'" end end