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