Sha256: b35c3406de9b16de54efc38a452b68206c2905841aeb90d443fd9ded002d7c95
Contents?: true
Size: 438 Bytes
Versions: 1
Compression:
Stored size: 438 Bytes
Contents
module Deplomat class LocalNode < Node def initialize(logfile: "#{Dir.pwd}/deplomat.log", log_to: [:stdout], path: Dir.pwd, raise_exceptions: true) super end def path_exist?(path, log_not_found: true) exists = File.exist?(adjusted_path(path)) log "NOT FOUND: #{path}" if log_not_found && !exists exists end alias :path_exists? :path_exist? alias :file_exists? :path_exist? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
deplomat-0.2.20 | lib/deplomat/local_node.rb |