PrettyMethods

org.scalactic.PrettyMethods
See thePrettyMethods companion object

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

Attributes

Companion
object
Source
PrettyMethods.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object PrettyMethods.type

Members list

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

Attributes

Source
PrettyMethods.scala
Supertypes
class Object
trait Matchable
class Any

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

Attributes

Source
PrettyMethods.scala