wconrad / Cute Print / Docs / Configuring
Configure output
By default, output is written to $stderr. You can change where output goes.
Scenario: Write to $stdout
- Given a file with:
ruby
require "cute_print" CutePrint.configure do |c| c.out = $stdout end q "abc" - Then stdout should be
text
"abc"
Source: features/configuring/configure_output.feature at commit e8ebd2a4, Cute Print (MIT license).