PrettyMethods

Provides an implicit conversion that enables pretty to be invoked on any object, to transform that object into a String representation.

Companion:
object
Source:
PrettyMethods.scala
class Object
trait Matchable
class Any
object PrettyMethods.type

Type members

Classlikes

implicit class Prettyizer(o: Any)(implicit prettifier: 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 Prettifier that the pretty method will use to prettify the object.

Value parameters:
o

the object to prettify

prettifier

an implicit Prettifier that will be used to prettify the passed object o

Source:
PrettyMethods.scala

Implicits

Implicits

final implicit def Prettyizer(o: Any)(implicit prettifier: Prettifier): Prettyizer

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 Prettifier that the pretty method will use to prettify the object.

Value parameters:
o

the object to prettify

prettifier

an implicit Prettifier that will be used to prettify the passed object o

Source:
PrettyMethods.scala