Method: FileUtils2#rm_rf
- Defined in:
- lib/fileutils2.rb
#rm_rf(list, options = {}) ⇒ Object Also known as: rmtree
Options: noop verbose secure
Equivalent to
#rm_r(list, :force => true)
WARNING: This method causes local vulnerability. Read the documentation of #rm_r first.
725 726 727 728 729 730 |
# File 'lib/fileutils2.rb', line 725 def rm_rf(list, = {}) , OPT_TABLE['rm_rf'] = .dup [:force] = true rm_r list, end |