Sha256: 6ac55a3bc27c9229f89740f458affc8f103b7f2f2f653d1c2cd4f968d1c594d4
Contents?: true
Size: 334 Bytes
Versions: 12
Compression:
Stored size: 334 Bytes
Contents
require 'forwardable' module CutePrint # Writing to an instance of this class, rather than to an instance # variable that was set to $stderr, allows the tests to capture # output by assigning to $stderr. # @api private class StderrOut extend Forwardable def_delegators :$stderr, :puts, :print end end
Version data entries
12 entries across 12 versions & 1 rubygems