How to make ap function (with its color) outputting to STDERR?
ap
STDERR
ap bla # this goes to STDOUT
Use the Kernel#ai method to get the awesome_print String, then pass it to any output stream you want:
Kernel#ai
String
STDERR.puts foo.ai
Copyright © 2021 Jogjafile Inc.
Use the
Kernel#aimethod to get the awesome_printString, then pass it to any output stream you want: