Sha256: b18763dc6cd6b18965a836330621513585a60c5641eef1d468d55597ceafd1bb

Contents?: true

Size: 269 Bytes

Versions: 13

Compression:

Stored size: 269 Bytes

Contents

module TestIOStreams
  def stderr
    ::TestIOStreams.stderr
  end

  def stdout
    ::TestIOStreams.stdout
  end

  class << self
    attr_accessor :stderr, :stdout

    def set_streams(stderr, stdout)
      self.stderr, self.stdout = stderr, stdout
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
spork-1.0.0rc4 spec/support/test_io_streams.rb
spork-1.0.0rc4-x86-mswin32 spec/support/test_io_streams.rb
spork-1.0.0rc4-x86-mingw32 spec/support/test_io_streams.rb
spork-1.0.0rc3 spec/support/test_io_streams.rb
spork-1.0.0rc2 spec/support/test_io_streams.rb
spork-1.0.0rc2-x86-mswin32 spec/support/test_io_streams.rb
spork-1.0.0rc2-x86-mingw32 spec/support/test_io_streams.rb
spork-1.0.0rc1 spec/support/test_io_streams.rb
spork-1.0.0rc1-x86-mswin32 spec/support/test_io_streams.rb
spork-1.0.0rc1-x86-mingw32 spec/support/test_io_streams.rb
spork-1.0.0rc0-x86-mswin32 spec/support/test_io_streams.rb
spork-1.0.0rc0-x86-mingw32 spec/support/test_io_streams.rb
spork-1.0.0rc0 spec/support/test_io_streams.rb