Renderable

interface Renderable(source)

Implemented by objects that can produce a human-readable representation of themselves within a MokkeryRenderingScope. Prefer this over overriding Any.toString when the rendering may depend on configuration or tools available in the scope (e.g. value description).

Inheritors

Functions

Link copied to clipboard
context(scope: MokkeryRenderingScope)
abstract fun render(): String

Returns human-readable representation of this object.