Sha256: 8c19ac73655babf0b64ea1df74d3b2ad7f0c47f337453c7c15bfdf0ba83113dd
Contents?: true
Size: 417 Bytes
Versions: 65
Compression:
Stored size: 417 Bytes
Contents
require 'pe_build/unpack' require 'fileutils' class PEBuild::Unpack::Copy # @param src [String] # @param dst [String] def initialize(src, dst) @src, @dst = src, dst end def unpack FileUtils.cp(@src, creates) end # @return [String] The file/dir that will be created as a result of unpack def creates basename = File.basename(@src) deploy_path = File.join(@dst, basename) end end
Version data entries
65 entries across 65 versions & 1 rubygems