Class: Hydra::Derivatives::FullTextExtract
- Inherits:
-
ImageDerivatives
- Object
- Runner
- ImageDerivatives
- Hydra::Derivatives::FullTextExtract
- Defined in:
- lib/hydra/derivatives/runners/full_text_extract.rb
Class Method Summary collapse
- .processor_class ⇒ Object
-
.transform_directives(options) ⇒ Object
Adds format: ‘txt’ as the default to each of the directives.
Methods inherited from Runner
create, output_file_service, output_file_service=, source_file, source_file_service, source_file_service=
Class Method Details
.processor_class ⇒ Object
11 12 13 |
# File 'lib/hydra/derivatives/runners/full_text_extract.rb', line 11 def self.processor_class Processors::FullText end |
.transform_directives(options) ⇒ Object
Adds format: ‘txt’ as the default to each of the directives
4 5 6 7 8 9 |
# File 'lib/hydra/derivatives/runners/full_text_extract.rb', line 4 def self.transform_directives() .each do |directive| directive.reverse_merge!(format: 'txt') end end |