Class: Entangler::Executor::Slave
- Defined in:
- lib/entangler/executor/slave.rb
Constant Summary
Constants inherited from Base
Base::ENTANGLER_IGNORE_REGEX, Base::GIT_IGNORE_REGEX
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(base_dir, opts = {}) ⇒ Slave
constructor
A new instance of Slave.
Methods inherited from Base
#generate_abs_path, #run, #strip_base_path
Constructor Details
#initialize(base_dir, opts = {}) ⇒ Slave
Returns a new instance of Slave.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/entangler/executor/slave.rb', line 6 def initialize(base_dir, opts = {}) super(base_dir, opts) $stdin.binmode $stdout.binmode $stdin.sync = true $stdout.sync = true @remote_reader = $stdin @remote_writer = $stdout $stderr.reopen(File.join(Entangler::Logger.log_file_path(base_dir, 'entangler.err')), 'a') end |