Class: RoCommands::Zeus

Inherits:
Base show all
Defined in:
lib/ro_commands/zeus.rb

Instance Method Summary collapse

Methods inherited from Base

describe, inherited, method_added, meths, start, usage

Methods included from Bash

#_bash, #add_time, #bash, #bash_capture, #bash_capture_array, #bash_lines, #bash_per, #bash_system, #bundle_exec, #err, err, #handle_path, #kernel_system, out, #out, #status, status

Instance Method Details

#initObject



7
8
9
10
11
12
13
14
15
# File 'lib/ro_commands/zeus.rb', line 7

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