Method: FileUtils2#rm_f

Defined in:
lib/fileutils2.rb

#rm_f(list, options = {}) ⇒ Object Also known as: safe_unlink

Options: noop verbose

Equivalent to

#rm(list, :force => true)


665
666
667
668
669
670
# File 'lib/fileutils2.rb', line 665

def rm_f(list, options = {})
  fu_check_options options, OPT_TABLE['rm_f']
  options = options.dup
  options[:force] = true
  rm list, options
end