PrettyMethods

org.scalactic.PrettyMethods
See thePrettyMethods companion trait
object PrettyMethods extends PrettyMethods

Companion object for trait PrettyMethods enabling its members to be imported as an alternative to mixing them in.

Attributes

Companion
trait
Source
PrettyMethods.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited 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

Inherited from:
PrettyMethods
Source
PrettyMethods.scala
Supertypes
class Object
trait Matchable
class Any

Implicits

Inherited 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

Inherited from:
PrettyMethods
Source
PrettyMethods.scala