class Indocker::Artifacts::Base
Public Instance Methods
build_source_path(*args)
click to toggle source
# File lib/indocker/artifacts/base.rb, line 2 def build_source_path(*args) raise StandardError.new('not implemented') end
is_git?()
click to toggle source
# File lib/indocker/artifacts/base.rb, line 6 def is_git? false end
Private Instance Methods
build_all_files(files: [], source_path: nil, target_path: nil)
click to toggle source
# File lib/indocker/artifacts/base.rb, line 12 def build_all_files(files: [], source_path: nil, target_path: nil) all_files = files if source_path && target_path all_files.push( Indocker::Artifacts::DTO::FileDTO.new( source_path: source_path, target_path: target_path, ) ) end all_files end