Sha256: 7896e8f427499bbd8ea7e6b7fa4d3c8fc283cc07de5e21ca755a2839fe071984
Contents?: true
Size: 272 Bytes
Versions: 4
Compression:
Stored size: 272 Bytes
Contents
require 'bently' require 'stringio' module Kernel def capture_stdout out = StringIO.new $stdout = out yield return out ensure $stdout = STDOUT end end class String def blank?; self=='' end end class NilClass def blank?; true end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bently-1.0.2 | spec/spec_helper.rb |
bently-1.0.1 | spec/spec_helper.rb |
bently-1.0.0 | spec/spec_helper.rb |
bently-0.1.0 | spec/spec_helper.rb |