lib/capybara/poltergeist/client.rb
# This abomination is because JRuby doesn't support the :out option of
# Process.spawn
This abomination is because JRuby doesn't support the :out option of
Process.spawn
This abomination is because JRuby doesn ' t support the : out option of Process . spawn
def redirect_stdout(to)
      prev = STDOUT.dup
      prev.autoclose = false
      $stdout = to
      STDOUT.reopen(to)
      yield
    ensure
      STDOUT.reopen(prev)
      $stdout = STDOUT
    end
def redirect_stdout ( to ) prev = STDOUT . dup prev . autoclose = false $stdout = to STDOUT . reopen ( to ) yield ensure STDOUT . reopen ( prev ) $stdout = STDOUT end
This abomination is because JRuby doesn't support the :out option of
Process.spawn
This abomination is because JRuby doesn ' t support the : out option of Process . spawn
to
<not_specific>