Class: EhbrsRubyUtils::Videos2::Unsupported::File
- Inherits:
-
EhbrsRubyUtils::Videos::File
- Object
- EhbrsRubyUtils::Videos::File
- EhbrsRubyUtils::Videos2::Unsupported::File
- Includes:
- CheckSupport, Fix
- Defined in:
- lib/ehbrs_ruby_utils/videos2/unsupported/file.rb,
lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb
Defined Under Namespace
Modules: Fix
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #all_fixes ⇒ Object
- #all_passed? ⇒ Boolean
- #banner ⇒ Object
- #check_set_key ⇒ Object
-
#initialize(file, options) ⇒ File
constructor
A new instance of File.
Methods included from Fix
Methods included from CheckSupport
#aggressions_banner, #ffmpeg_fix_args, #passed?
Methods inherited from EhbrsRubyUtils::Videos::File
from_file, #lyrics_by_provider
Constructor Details
#initialize(file, options) ⇒ File
Returns a new instance of File.
12 13 14 15 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 12 def initialize(file, ) super(file) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
10 11 12 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 10 def @options end |
Instance Method Details
#all_fixes ⇒ Object
29 30 31 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 29 def all_fixes fixes + tracks.flat_map(&:fixes) end |
#all_passed? ⇒ Boolean
25 26 27 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 25 def all_passed? passed? && tracks.all?(&:passed?) end |
#banner ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 17 def infov 'File', path pad_speaker do ('Self') tracks.each(&:banner) end end |
#check_set_key ⇒ Object
33 34 35 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 33 def check_set_key :file_check_set end |