To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorPretty-print
Kernel#qq pretty-prints its arguments and prints them, one per line. This
is just like Kernel#pp from the pp library, except that it writes to $stderr
by default.
- Scenarios
-
- One argument
-
- Given
-
a file with:
require "cute_print" a = [ "Once upon a time there were four little Rabbits, and their names were", "Flopsy,", "Mopsy,", "Cotton-tail, and", "Peter.", ] qq a
- Then
-
stderr should be
["Once upon a time there were four little Rabbits, and their names were", "Flopsy,", "Mopsy,", "Cotton-tail, and", "Peter."]
- Two arguments
-
- Given
-
a file with:
require "cute_print" qq 1, "foo"
- Then
-
stderr should be
1 "foo"
Last published over 7 years ago by Wayne Conrad.