Sha256: 9f600deed3474b9ab33abb8d5361a6211786d6ecc626b92064d2d9598f9dea1d
Contents?: true
Size: 698 Bytes
Versions: 5
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true require_relative 'checker_transformer_base' module Epuber class Checker < CheckerTransformerBase require_relative 'checker/text_checker' require_relative 'checker/bookspec_checker' # @return [Hash<Symbol, Class>] # def self.map_source_type__class { result_text_xhtml_string: TextChecker, source_text_file: TextChecker, bookspec: BookspecChecker, }.merge(super) end def warning(messsage, location: caller_locations.first) UI.warning(messsage, location: location) end def error(messsage, location: caller_locations.first) UI.error(messsage, location: location) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
epuber-0.11.1 | lib/epuber/checker.rb |
epuber-0.11.0 | lib/epuber/checker.rb |
epuber-0.10.3 | lib/epuber/checker.rb |
epuber-0.10.2 | lib/epuber/checker.rb |
epuber-0.10.1 | lib/epuber/checker.rb |