object Pretty extends Serializable
- Source
- Pretty.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Pretty
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(f: (Params) => String): Pretty
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def break(s: String, lead: String, length: Int): String
Break a long string across lines.
Break a long string across lines.
This method will wrap the given string at
length
characters, inserting newlines and an optional prefix (lead
) on every line other than the first.All lines in the resulting string are guaranteed to be
length
or shorter.We require
lead.length < length
; otherwise it would be impossible to legally wrap lines. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val defaultParams: Params
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def format(s: String, lead: String, trail: String, width: Int): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def pad(s: String, c: Char, length: Int): String
- def pretty[T](t: T)(implicit ev: (T) => Pretty): String
- def pretty[T](t: T, prms: Params)(implicit ev: (T) => Pretty): String
- implicit def prettyAny(t: Any): Pretty
- def prettyArgs(args: Seq[Arg[Any]]): Pretty
- implicit def prettyFreqMap(fm: FreqMap[Set[Any]]): Pretty
- implicit def prettyList(l: List[Any]): Pretty
- implicit def prettyString(t: String): Pretty
- implicit def prettyTestParams(prms: Parameters): Pretty
- implicit def prettyTestRes(res: Result): Pretty
- implicit def prettyThrowable(e: Throwable): Pretty
- def prettyTime(millis: Long): String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()