class EpubValidator::ProcessEpub
Public Instance Methods
epubcheck(filename)
click to toggle source
# File lib/epub_validator/process_epub.rb, line 3 def epubcheck(filename) epubcheck_jar = File.expand_path(File.dirname(__FILE__) + '/../epubcheck-3.0.1/epubcheck-3.0.1.jar') format_epubcheck_output(`java -jar #{epubcheck_jar} "#{filename}" 2>&1`) end
format_epubcheck_output(message)
click to toggle source
# File lib/epub_validator/process_epub.rb, line 8 def format_epubcheck_output(message) FormatMessage.new(message) end