Namespace
- MODULE PP::ObjectMixin
- MODULE PP::PPMethods
- CLASS PP::SingleLine
Methods
- P
- S
Included Modules
Attributes
[RW] | sharing_detection | Returns the sharing detection flag as a boolean value. It is false by default. |
Class Public methods
pp(obj, out=$>, width=79)
Link
Outputs obj
to out
in pretty printed format of
width
columns in width.
If out
is omitted, +$>+ is assumed. If width
is omitted, 79 is assumed.
::pp returns out
.
singleline_pp(obj, out=$>)
Link
Outputs obj
to out
like ::pp but with no indent and newline.
::singleline_pp returns
out
.