Sha256: 09ee814b88080038e46b5c9e7a3681ced7649344aef1eaffeda3267fef0bacfe
Contents?: true
Size: 435 Bytes
Versions: 1
Compression:
Stored size: 435 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) exists = File.exist?(adjusted_path(path)) print_to_terminal((exists ? "EXISTS: #{path}" : "NOT FOUND: #{path}")) 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.19 | lib/deplomat/local_node.rb |