Class: Ehbrs::Tools::Runner::Videos::Languages
- Inherits:
-
Object
- Object
- Ehbrs::Tools::Runner::Videos::Languages
show all
- Defined in:
- lib/ehbrs/tools/runner/videos/languages.rb,
lib/ehbrs/tools/runner/videos/languages/track.rb,
lib/ehbrs/tools/runner/videos/languages/language.rb,
lib/ehbrs/tools/runner/videos/languages/labelized.rb,
lib/ehbrs/tools/runner/videos/languages/file_runner.rb
Defined Under Namespace
Classes: FileRunner, Labelized, Language, Track
Instance Method Summary
collapse
Instance Method Details
#include_audios? ⇒ Boolean
37
38
39
|
# File 'lib/ehbrs/tools/runner/videos/languages.rb', line 37
def include_audios?
parsed.audios?
end
|
#include_subtitles? ⇒ Boolean
41
42
43
|
# File 'lib/ehbrs/tools/runner/videos/languages.rb', line 41
def include_subtitles?
parsed.subtitles?
end
|
#keep_languages ⇒ Object
33
34
35
|
# File 'lib/ehbrs/tools/runner/videos/languages.rb', line 33
def keep_languages
parsed.keep.map(&:strip).compact_blank
end
|
#keep_languages? ⇒ Boolean
22
23
24
|
# File 'lib/ehbrs/tools/runner/videos/languages.rb', line 22
def keep_languages?
keep_languages.any?
end
|
#run ⇒ Object
28
29
30
31
|
# File 'lib/ehbrs/tools/runner/videos/languages.rb', line 28
def run
infov 'Keep', keep_languages
all_languages_banner
end
|
#traverser_check_file(file) ⇒ Object