Sha256: 0f1a7107452500e8b81861041400189cf02ec061e6944d51bb2c2a672e7d6eda
Contents?: true
Size: 445 Bytes
Versions: 15
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true 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
15 entries across 15 versions & 1 rubygems