Class: Epuber::Transformer
- Inherits:
-
CheckerTransformerBase
- Object
- CheckerTransformerBase
- Epuber::Transformer
- Defined in:
- lib/epuber/transformer.rb,
lib/epuber/transformer/book_transformer.rb,
lib/epuber/transformer/text_transformer.rb
Direct Known Subclasses
Defined Under Namespace
Classes: BookTransformer, TextTransformer
Instance Attribute Summary
Attributes inherited from CheckerTransformerBase
#block, #options, #source_type
Class Method Summary collapse
Methods inherited from CheckerTransformerBase
#call, class_for_source_type, #initialize, #valid_options
Constructor Details
This class inherits a constructor from Epuber::CheckerTransformerBase
Class Method Details
.map_source_type__class ⇒ Hash<Symbol, Class>
12 13 14 15 16 17 18 |
# File 'lib/epuber/transformer.rb', line 12 def self.map_source_type__class { result_text_xhtml_string: TextTransformer, source_text_file: TextTransformer, after_all_text_files: BookTransformer, }.merge(super) end |