Sha256: 4104e82c384156e18dec8ed293be445e0f64992589181e7373a5c8d26fcd564f
Contents?: true
Size: 301 Bytes
Versions: 2
Compression:
Stored size: 301 Bytes
Contents
require 'fileutils' module PEBuild module Transfer class File # @param src [String] The path to the file to copy # @param dst [String] The path to destination of the copied file def initialize(src, dst) @src, @dst = src, dst end def copy FileUtils.cp @src, @dst end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vagrant-pe_build-0.2.0 | lib/pe_build/transfer/file.rb |
vagrant-pe_build-0.1.0 | lib/pe_build/transfer/file.rb |