Sha256: 8207a8662425d7abcae3da0612dc771e43e0d4f9339bc65e6391415f6a1b766f

Contents?: true

Size: 185 Bytes

Versions: 44

Compression:

Stored size: 185 Bytes

Contents

module Recording
  def self.stderr
    $stderr = recorder = StringIO.new
    begin
      yield
    ensure
      $stderr = STDERR
    end
    recorder.rewind
    recorder.read
  end
end

Version data entries

44 entries across 44 versions & 6 rubygems

Version Path
codez-tarantula-0.5.5 lib/relevance/tarantula/recording.rb
codez-tarantula-0.5.4 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.1 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.2 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.3 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.5 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.6 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.7.1 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.7 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.8.0 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.0.8.1 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.0 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.1 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.2 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.3 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.4 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.5 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.6 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.7 lib/relevance/tarantula/recording.rb
relevance-tarantula-0.1.8 lib/relevance/tarantula/recording.rb