Class: InitRunner
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(opts) ⇒ InitRunner
constructor
A new instance of InitRunner.
- #start ⇒ Object
Methods included from Common
#audio?, #banner, #bootstrap_aws, #build_nodes, #calculate_templates, #conf, #create_infranodes_json, #duration, #gen_ssh_key, #gen_x509_cert, #info, #infranodes, #is_mac?, #linux, #lock, #logs, #parse_log, #update_lock, #update_template, #warn, #wombat, #workstations
Constructor Details
#initialize(opts) ⇒ InitRunner
Returns a new instance of InitRunner.
8 9 10 |
# File 'lib/wombat/init.rb', line 8 def initialize(opts) @path = opts.path.nil? ? Dir.pwd : opts.path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
6 7 8 |
# File 'lib/wombat/init.rb', line 6 def path @path end |
Instance Method Details
#start ⇒ Object
12 13 14 |
# File 'lib/wombat/init.rb', line 12 def start copy_files(path) end |