diff --git a/doc-api/classes/Kwalify/Validator.html b/doc-api/classes/Kwalify/Validator.html index b164198..c50e080 100644 --- a/doc-api/classes/Kwalify/Validator.html +++ b/doc-api/classes/Kwalify/Validator.html @@ -89,7 +89,7 @@ schema = YAML.load_file('schema.yaml') validator = Kwalify::Validator.new(schema) document = YAML.load_file('document.yaml') - erros = validator.validate(document) + errors = validator.validate(document) if errors && !errors.empty? errors.each do |err| puts "- [#{err.path}] #{err.message}" @@ -378,4 +378,4 @@