AnsiColors

org.specs2.text.AnsiColors$
See theAnsiColors companion trait
object AnsiColors extends AnsiColors

Attributes

Companion
trait
Graph
Supertypes
trait AnsiColors
class Object
trait Matchable
class Any
Self type
AnsiColors.type

Members list

Value members

Inherited methods

def color(s: String, color: AnsiColor, doIt: Boolean): String

Attributes

Returns

a colored string (if args.color == true) color markers are inserted at the beginning and end of each line so that newlines are preserved

Inherited from:
AnsiColors
def removeColors(s: String, doIt: Boolean): String

Attributes

Returns

a string with no color codes

Inherited from:
AnsiColors
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
AnsiColors -> Any
Inherited from:
AnsiColors

Inherited fields

lazy val all: Seq[AnsiColor]

Attributes

Inherited from:
AnsiColors
lazy val allColors: Seq[AnsiColor]

Attributes

Inherited from:
AnsiColors
lazy val black: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val blue: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val cyan: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val green: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val magenta: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val red: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val reset: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val white: AnsiColor

Attributes

Inherited from:
AnsiColors
lazy val yellow: AnsiColor

Attributes

Inherited from:
AnsiColors

Extensions

Inherited extensions

extension (s: String)(s: String)
def removeColors: String

Attributes

Inherited from:
AnsiColors