Class: Chap::Strategy::Copy

Inherits:
Base
  • Object
show all
Includes:
Benchmarking
Defined in:
lib/chap/strategy/copy.rb

Overview

useful for specs

Constant Summary

Constants included from Chap::SpecialMethods

Chap::SpecialMethods::SPECIAL_METHODS

Instance Attribute Summary

Attributes inherited from Base

#config, #options

Instance Method Summary collapse

Methods included from Benchmarking

#benchmarks, included, #report_benchmarks, #shorten_name

Methods inherited from Base

#initialize

Methods included from Chap::SpecialMethods

included

Constructor Details

This class inherits a constructor from Chap::Strategy::Base

Instance Method Details

#deployObject



6
7
8
# File 'lib/chap/strategy/copy.rb', line 6

def deploy
  run("cp -RPp #{config.chap[:source]} #{release_path}")
end