Prettyizer

org.scalactic.PrettyMethods.Prettyizer
implicit class Prettyizer(o: Any)(implicit prettifier: Prettifier)

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

Attributes

Source
PrettyMethods.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def pretty: String

Returns a pretty String representation of the object o

Returns a pretty String representation of the object o

Attributes

Source
PrettyMethods.scala