Module: EhbrsRubyUtils::Videos2::Unsupported::CheckSupport
Instance Method Summary collapse
Instance Method Details
#aggressions_banner(title) ⇒ Object
15 16 17 18 19 20 21 22 23 24 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb', line 15 def (title) return if passed? info title pad_speaker do unpassed_checks.each do |u| info "* #{u.}" end end end |
#ffmpeg_fix_args ⇒ Object
26 27 28 29 30 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb', line 26 def ffmpeg_fix_args unpassed_checks.flat_map do |check| check.check.fix.if_present([]) { |v| v.ffmpeg_args(self) } end end |
#passed? ⇒ Boolean
32 33 34 |
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/check_support.rb', line 32 def passed? unpassed_checks.none? end |