Method: FileUtils#rm_rf
- Defined in:
- lib/fileutils.rb
#rm_rf(list, options = {}) ⇒ Object (private) 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.
630 631 632 633 634 635 |
# File 'lib/fileutils.rb', line 630 def rm_rf(list, = {}) , OPT_TABLE['rm_rf'] = .dup [:force] = true rm_r list, end |