From c6e9d8873220d34a71d206ecdcf9dd77de8d8dff Mon Sep 17 00:00:00 2001 From: Dan Nolan Date: Tue, 24 Jan 2017 12:08:52 -0400 Subject: [PATCH] Fix Typo --- doc-api/classes/Kwalify/Validator.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@

Protected Instance methods

- \ No newline at end of file +