def version_required #:nodoc:
            max = [ "1.0", 0 ]

            self.each_key do |field|
                attributes = self.class.fields[field.value]
                if attributes.nil?
                    STDERR.puts "Warning: object #{self.class} has undocumented field #{field.value}"
                    next
                end

                version = attributes[:Version] || '1.0'
                level = attributes[:ExtensionLevel] || 0
                current = [ version, level ]

                max = [ max, current, self[field.value].version_required ].max
            end

            max
        end
def version_required #:nodoc:
            max = [ "1.0", 0 ]

            self.each_key do |field|
                attributes = self.class.fields[field.value]
                if attributes.nil?
                    STDERR.puts "Warning: object #{self.class} has undocumented field #{field.value}"
                    next
                end

                version = attributes[:Version] || '1.0'
                level = attributes[:ExtensionLevel] || 0
                current = [ version, level ]

                max = [ max, current, self[field.value].version_required ].max
            end

            max
        end
Returns the version and level required by the current Object.