Wraps a Prettifier
.
Wraps a Prettifier
.
This class exists so that instances of PrettifierConfig
can be made implicit instead
of Prettifer
. Because Prettifier
is a Any => String
,
making it implicit could result in unintentional applications.
the configured Prettifier
Implicit class that adds a pretty
method to any object.
Implicit class that adds a pretty
method to any object.
The constructor of this class, besides taking an object o
to prettify,
also takes an implicit PrettifierConfig
that the pretty
method will use to prettify the
object.
An implicit PrettifierConfig
that contains a Prettifier.default
.
An implicit PrettifierConfig
that contains a Prettifier.default
.
Subclasses can override this method with a different implicit method to have pretty
use a different Prettifier
.
Companion object for trait
PrettyMethods
enabling its members to be imported as an alternative to mixing them in.