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