Sha256: 00c28016483bddf963f51b4ec9efe6e63f2cb16c0e4e59eb94b8a42fa2d5c691
Contents?: true
Size: 549 Bytes
Versions: 12
Compression:
Stored size: 549 Bytes
Contents
require_relative 'context/deploy' module Context class Deploy include DeployHelper attr_reader :context_name attr_reader :context_folder def initialize(context_name, deploycontext_folder) @context_name = context_name @context_folder = deploycontext_folder end def present_localy? Dir.exist?(context_folder) end def check_folder(folder) FileUtils.mkdir_p(context_folder) unless present_localy? end def version Dir.chdir(context_folder) GVB.version end end end
Version data entries
12 entries across 12 versions & 1 rubygems