Module: EhbrsRubyUtils::Videos2::Unsupported::File::Fix

Included in:
EhbrsRubyUtils::Videos2::Unsupported::File
Defined in:
lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb

Instance Method Summary collapse

Instance Method Details

#check_fixObject



12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/ehbrs_ruby_utils/videos2/unsupported/file/fix.rb', line 12

def check_fix
  return unless options.fetch(:fix)

  if fix_blocks.any?
    infom '  * Cannot fix:'
    fix_blocks.each do |fb|
      infom "    * #{fb.check.check_name}"
    end
  else
    infom '  * Fixing...'
    infom "  * Fixed in: \"#{fix}\""
  end
end