module Generambo::Helpers::Copier
Public Class Methods
transfer(from_path, to_path)
click to toggle source
# File lib/generambo/helpers/copier.rb, line 8 def transfer(from_path, to_path) unless File.directory?(to_path) FileUtils.mkdir_p(to_path) end FileUtils.cp_r(Dir["#{from_path}/*"], to_path) end