module PatternPark class Task < Sprout def type return 'task' end def execute super if(target.project_path != '') from = target.install_path to = File.join(Sprout.project_path, target.project_path) FileUtils.makedirs(to) TemplateResolver.instance.copy_files(from, to, render) end end end end