Class: DuoSplitter::Services::CreateSentences
- Inherits:
-
Object
- Object
- DuoSplitter::Services::CreateSentences
- Defined in:
- lib/duo_splitter/services/create_sentences.rb
Instance Method Summary collapse
-
#initialize(context:) ⇒ CreateSentences
constructor
A new instance of CreateSentences.
- #run ⇒ Object
Constructor Details
#initialize(context:) ⇒ CreateSentences
6 7 8 |
# File 'lib/duo_splitter/services/create_sentences.rb', line 6 def initialize(context:) @context = context end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 |
# File 'lib/duo_splitter/services/create_sentences.rb', line 10 def run TempDirWrapper.new(context: @context).run do Support::SplitTracks.new(context: @context).run Support::Encode.new(context: @context).run end end |