LinesContent

org.specs2.text.LinesContent
See theLinesContent companion object
trait LinesContent[L1]

Any type T with a name and representable as a sequence of Strings

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object FileLinesContent.type
class ListLinesContent[A]
class SeqLinesContent[A]

Members list

Value members

Abstract methods

def lines(t: L1): Seq[String]

Attributes

Returns

the lines for this content

def name(t: L1): String

Attributes

Returns

a name for this content

Concrete methods

def differences[L2 : LinesContent](ls1: L1, ls2: L2, all: Boolean, ordered: Boolean): LinesContentDifference

Attributes

Returns

the differences with another content