Update Scheme.kt
Add default empty block.
This commit is contained in:
parent
4ab9751bea
commit
ccb11b52c8
@ -91,5 +91,5 @@ public open class MetaScheme(
|
||||
|
||||
public fun Meta.asScheme(): MetaScheme = MetaScheme(this)
|
||||
|
||||
public fun <T : Configurable> Meta.toScheme(spec: Specification<T>, block: T.() -> Unit): T =
|
||||
spec.wrap(this).apply(block)
|
||||
public fun <T : Configurable> Meta.toScheme(spec: Specification<T>, block: T.() -> Unit = {}): T =
|
||||
spec.wrap(this).apply(block)
|
||||
|
Loading…
Reference in New Issue
Block a user