class Epuber::Checker

Public Class Methods

map_source_type__class() click to toggle source

@return [Hash<Symbol, Class>]

Calls superclass method
# File lib/epuber/checker.rb, line 12
def self.map_source_type__class
  {
    result_text_xhtml_string: TextChecker,
    source_text_file: TextChecker,
    bookspec: BookspecChecker,
  }.merge(super)
end

Public Instance Methods

error(messsage, location: caller_locations.first) click to toggle source
# File lib/epuber/checker.rb, line 24
def error(messsage, location: caller_locations.first)
  UI.error(messsage, location: location)
end
warning(messsage, location: caller_locations.first) click to toggle source
# File lib/epuber/checker.rb, line 20
def warning(messsage, location: caller_locations.first)
  UI.warning(messsage, location: location)
end