Sha256: 4556d3ae56610704679650f3f64ae2d2b5f71d95c74c9bd17f63cf3c59f5ab23
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
module Entangler module Executor module Validation module Base protected def validate_opts; end def validate_base_dir(base_dir) raise Entangler::ValidationError, "Base directory doesn't exist" unless File.exist?(base_dir) raise Entangler::ValidationError, 'Base directory is a file' unless File.directory?(base_dir) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
entangler-1.1.1 | lib/entangler/executor/validation/base.rb |
entangler-1.1.0 | lib/entangler/executor/validation/base.rb |