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.
17 18 19 20 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 17 def initialize(file, ) super(file) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 15 def @options end |
Instance Method Details
#all_fixes ⇒ Object
34 35 36 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 34 def all_fixes fixes + tracks.flat_map(&:fixes) end |
#all_passed? ⇒ Boolean
30 31 32 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 30 def all_passed? passed? && tracks.all?(&:passed?) end |
#banner ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 22 def infov 'File', path pad_speaker do ('Self') tracks.each(&:banner) end end |
#check_set_key ⇒ Object
38 39 40 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file.rb', line 38 def check_set_key :file_check_set end |