Sha256: 3dc169fae57ae2cba3a90dbddc8aa398f47665767a83bdf7ebcc5c2bf955c0c3

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'rake/benchmark'
begin; require 'turn/autorun'; rescue LoadError; end
Turn.config do |c|
  c.natural = true
  c.ansi = true
  c.format = :pretty
end

def capture_stdout
  buffer = StringIO.new
  $stdout = buffer
  yield
  $stdout = STDOUT
  buffer.rewind
  buffer.string
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake-benchmark-1.0.0 spec/spec_helper.rb