Module: Ehbrs::Videos::Unsupported::CheckSupport
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/ehbrs/videos/unsupported/check_support.rb
Instance Method Summary collapse
Instance Method Details
#aggressions_banner(title) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/ehbrs/videos/unsupported/check_support.rb', line 16 def (title) return if passed? info title pad_speaker do unpassed_checks.each do |u| info "* #{u.}" end end end |
#ffmpeg_fix_args ⇒ Object
27 28 29 30 31 |
# File 'lib/ehbrs/videos/unsupported/check_support.rb', line 27 def ffmpeg_fix_args unpassed_checks.flat_map do |check| check.check.fix.if_present([]) { |v| v.ffmpeg_args(self) } end end |
#passed? ⇒ Boolean
33 34 35 |
# File 'lib/ehbrs/videos/unsupported/check_support.rb', line 33 def passed? unpassed_checks.none? end |