Module: Rake::DSL::StdErrSync

Defined in:
lib/rake_subdir.rb

Instance Method Summary collapse

Instance Method Details

#receive_data(data) ⇒ Object



13
14
15
# File 'lib/rake_subdir.rb', line 13

def receive_data data
  puts data.gsub(/^/,'   ') unless data.empty?
end

#receive_stderr(data) ⇒ Object



16
17
18
# File 'lib/rake_subdir.rb', line 16

def receive_stderr data
  puts data.gsub(/^/,'   ') unless data.empty?
end

#unbindObject



19
20
21
22
# File 'lib/rake_subdir.rb', line 19

def unbind
  $exit_status = get_status.exitstatus
  EventMachine.stop
end