Class: EhbrsRubyUtils::Videos2::Extract::Package

Inherits:
Object
  • Object
show all
Defined in:
lib/ehbrs_ruby_utils/videos2/extract/package.rb

Instance Method Summary collapse

Instance Method Details

#run(delete) ⇒ Object



20
21
22
23
24
25
# File 'lib/ehbrs_ruby_utils/videos2/extract/package.rb', line 20

def run(delete)
  selected_files.each(&:copy_to_selected_dir)
  files.each(&:move_to_quality_dir)
  extract_dir.rmdir
  path.unlink if delete
end