# File lib/whois/record/super_struct.rb, line 43 def initialize(*args) if args.first.is_a? Hash initialize_with_hash(args.first) elsif args.size == 0 super else Whois.deprecate "Passing a list of arguments to #{self.class} is deprecated, please use the Hash syntax." super end yield(self) if block_given? end