Sha256: b25dedcb10aa2e1026406ed789dca6a6108e9e7670814ae9b38d76daf98fb2fb
Contents?: true
Size: 267 Bytes
Versions: 11
Compression:
Stored size: 267 Bytes
Contents
module FileActions private def copy(type, name:, dest:, **options) self.destination_root = dest name_in_dest = options.fetch(:as, name) if type == :file copy_file name, name_in_dest else directory name, name_in_dest end end end
Version data entries
11 entries across 11 versions & 1 rubygems