class Deplomat::LocalNode
Public Class Methods
new(logfile: "
click to toggle source
Calls superclass method
# File lib/deplomat/local_node.rb, line 5 def initialize(logfile: "#{Dir.pwd}/deplomat.log", log_to: [:stdout], path: Dir.pwd, raise_exceptions: true) super end
Public Instance Methods
path_exist?(path, log_not_found: true)
click to toggle source
# File lib/deplomat/local_node.rb, line 9 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
Also aliased as: path_exists?, file_exists?