Module: Gakubuchi::FileUtils
- Extended by:
- FileUtils
- Defined in:
- lib/gakubuchi/fileutils.rb
Class Method Summary collapse
Class Method Details
.copy_p(src, dest) ⇒ Object
6 7 8 9 10 |
# File 'lib/gakubuchi/fileutils.rb', line 6 def copy_p(src, dest) mkdir_p(::File.dirname(dest)) copy(src, dest) logging("Copied #{src} to #{dest}") end |
.remove(list) ⇒ Object
12 13 14 15 |
# File 'lib/gakubuchi/fileutils.rb', line 12 def remove(list) super(list) logging("Removed #{Array(list).join(' ')}") end |