Class: EhbrsRubyUtils::Videos::Opensubtitles::Processors::Title

Inherits:
Aranha::DefaultProcessor
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb

Instance Method Summary collapse

Instance Method Details

#performObject



16
17
18
19
# File 'lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb', line 16

def perform
  infov 'Episodes', episodes.count
  episodes.each(&:perform)
end

#subtitlesArray<EhbrsRubyUtils::Videos::Opensubtitles::Processors::Subtitle>



22
23
24
# File 'lib/ehbrs_ruby_utils/videos/opensubtitles/processors/title.rb', line 22

def subtitles
  episodes.flat_map(&:subtitles)
end