Sha256: aa842a383324500ec2d067e733157195317e69515dca3e7654d80a4863d26299

Contents?: true

Size: 506 Bytes

Versions: 7

Compression:

Stored size: 506 Bytes

Contents

# frozen_string_literal: true

require_relative 'checker_transformer_base'

module Epuber
  class Transformer < CheckerTransformerBase
    require_relative 'transformer/text_transformer'
    require_relative 'transformer/book_transformer'

    # @return [Hash<Symbol, Class>]
    #
    def self.map_source_type__class
      {
        result_text_xhtml_string: TextTransformer,
        source_text_file: TextTransformer,
        after_all_text_files: BookTransformer,
      }.merge(super)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
epuber-0.10.3 lib/epuber/transformer.rb
epuber-0.10.2 lib/epuber/transformer.rb
epuber-0.10.1 lib/epuber/transformer.rb
epuber-0.9.3 lib/epuber/transformer.rb
epuber-0.9.2 lib/epuber/transformer.rb
epuber-0.9.1 lib/epuber/transformer.rb
epuber-0.9.0 lib/epuber/transformer.rb