Method: FileUtils.rm_rf
- Defined in:
- lib/fileutils.rb
.rm_rf(list, options = {}) ⇒ Object
Options: noop verbose secure
Equivalent to
#rm_r(list, :force => true)
WARNING: This method causes local vulnerability. Read the documentation of #rm_r first.
650 651 652 653 654 655 |
# File 'lib/fileutils.rb', line 650 def rm_rf(list, = {}) , OPT_TABLE['rm_rf'] = .dup [:force] = true rm_r list, end |