object ScriptLoader: Any

Loads Kotlin scripts and executes them.

Methods

load

fun <T> load(script: String): T

Loads and executes the Kotlin script.

Parameters

Name Description
script: String

ReturnValue

Name Description
T

load

fun <T> load(path: Path): T

Reads and loads the Kotlin script located at path.

Parameters

Name Description
path: Path

ReturnValue

Name Description
T

createKtsObjectLoader

fun createKtsObjectLoader(): KtsObjectLoader

ReturnValue

Name Description
KtsObjectLoader