Logo: Relish

  1. Sign in

Project: Cute-print 0.2.0

Inspect

Kernel#q inspects its arguments and prints them, one per line. This
is just like Kernel#p, except that it writes to $stderr by default.

Scenarios
One argument
Given
a file with:
require "cute_print"
q "abc"
Then
stderr should be
"abc"
Two arguments
Given
a file with:
require "cute_print"
q "abc", 123
Then
stderr should be
"abc"
123

Last published over 7 years ago by Wayne Conrad.