Logo: Relish

  1. Sign in

Project: Cute-print 0.2.0

Configure output

By default, output is written to $stderr. You can change where
output goes.

Scenarios
Write to $stdout
Given
a file with:
require "cute_print"

CutePrint.configure do |c|
  c.out = $stdout
end

q "abc"
Then
stdout should be
"abc"

Last published about 7 years ago by Wayne Conrad.