From 1af83bd05b057e9c3d1001d51a781f17918ce48d Mon Sep 17 00:00:00 2001 From: Mike Cook Date: Thu, 17 Nov 2011 21:22:54 +0000 Subject: [PATCH] renamed CheckEpub class and methods --- lib/epub_validator.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/epub_validator.rb b/lib/epub_validator.rb index 1dd7e6c..d8a0e9b 100755 --- a/lib/epub_validator.rb +++ b/lib/epub_validator.rb @@ -4,8 +4,10 @@ module EpubValidator def self.check(filename) - check = ProcessEpub.new - check.epubcheck(filename) + pe = ProcessEpub.new + message = pe.epubcheck(filename) + validation = FormatErrorMessage.new + validation.process_message(message) end end