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 with source
Kernel#pp, if given a block, prints the source for the block and then
the pretty-printed result of running the block.
- Scenarios
-
- Label and pretty-print an object
-
- 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
a is ["Once upon a time there were four little Rabbits, and their names were", "Flopsy,", "Mopsy,", "Cotton-tail, and", "Peter."]
Last published over 7 years ago by Wayne Conrad.