Sha256: 1899d278876b502531d9631179aa0604a9cc878c832ffeac53ec266f033c60bd
Contents?: true
Size: 673 Bytes
Versions: 33
Compression:
Stored size: 673 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'avm/git/commit/deploy/appended/base' module Avm module Git class Commit class Deploy module Appended class FileContent < ::Avm::Git::Commit::Deploy::Appended::Base attr_reader :target_path, :content def initialize(deploy, target_path, content) super(deploy) @target_path = target_path @content = content end def copy_to_build_dir deploy.build_dir.to_pathname.join(target_path).write(content) end end end end end end end
Version data entries
33 entries across 33 versions & 1 rubygems