require "find" require "fileutils" module RoCommands class Zeus < Base desc usage("init"), "" def init Find.find(File.expand_path("../zeus_templates", __FILE__)) do |f| if test(?f, f) to = File.basename f puts "FileUtils.cp #{f}, #{to}" FileUtils.cp f, to end end end end end