ScriptTemplate

org.specs2.specification.script.ScriptTemplate
trait ScriptTemplate[T <: Script, L <: ScriptLines]

A ScriptTemplate parses some text to create ScriptLines that the associated script knows how to translate to Fragments.

For example a script.Specification has a Script which takes text and asks the BulletedExamplesTemplate to return FragmentsScriptLines containing Text fragments for normal text and Examples for text that's starting with +

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def lines(text: String, script: T): L