Sha256: 691bce767ebc51724b36e81f70fc0465aae29298bc6cfa05f95ca6d418364e66

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

module CutePrint

  # Writing to an instance of this class, rather than directly to
  # $stderr, allows the tests to capture output by assigning to
  # $stderr.
  # @api private
  class StderrOut

    def puts(*args)
      $stderr.puts(*args)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cute_print-0.2.0 lib/cute_print/stderr_out.rb