Sha256: 5f0d99c2c250f3b06128280050c80c65061de918c774be3d665be27e200aa1fa
Contents?: true
Size: 548 Bytes
Versions: 36
Compression:
Stored size: 548 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
36 entries across 36 versions & 1 rubygems