Module: FileUtils
- Included in:
- SimpleTemplater::DSL
- Defined in:
- lib/simple-templater/builder.rb
Class Method Summary collapse
Class Method Details
.cp_f(source, target) ⇒ Object
10 11 12 13 14 |
# File 'lib/simple-templater/builder.rb', line 10 def self.cp_f(source, target) sh "cp -f '#{source}' '#{target}'" # self.rm target # self.cp source, target end |