Class: SpecInfra::Backend::Ssh
- Inherits:
-
Object
- Object
- SpecInfra::Backend::Ssh
- Defined in:
- lib/lightchef/monkey_patch.rb
Instance Method Summary collapse
Instance Method Details
#copy_file(src, dst) ⇒ Object
12 13 14 15 |
# File 'lib/lightchef/monkey_patch.rb', line 12 def copy_file(src, dst) scp = Net::SCP.new(SpecInfra.configuration.ssh) scp.upload!(src, dst) end |