Class: Deplomat::LocalNode
Instance Attribute Summary
Attributes inherited from Node
#current_path, #log_to, #logfile, #raise_exceptions, #stdout_lines_to_ignore, #wrap_in
Instance Method Summary collapse
-
#initialize(logfile: "#{Dir.pwd}/deplomat.log", log_to: [:stdout], path: Dir.pwd, raise_exceptions: true) ⇒ LocalNode
constructor
A new instance of LocalNode.
Methods inherited from Node
#cd, #clean, #copy, #create_dir, #create_file, #create_symlink, #current_requisite_number, #execute, #git_checkout, #git_merge, #git_pull, #git_push, #log, #move, #path_exist?, #remove, #update_requisite_number!
Constructor Details
#initialize(logfile: "#{Dir.pwd}/deplomat.log", log_to: [:stdout], path: Dir.pwd, raise_exceptions: true) ⇒ LocalNode
Returns a new instance of LocalNode.
5 6 7 |
# 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 |