Sha256: 961430e6a038968820ea214cf9a5b3d6191be9a8195f444f1d315e3a0152dc08
Contents?: true
Size: 455 Bytes
Versions: 37
Compression:
Stored size: 455 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 check_folder context_folder end def check_folder(folder) FileUtils.mkdir_p(context_folder) unless ::Dir.exist?(context_folder) end end end
Version data entries
37 entries across 37 versions & 1 rubygems