run.smt.ktest.util.dsl.keywords.kt Maven / Gradle / Ivy
package run.smt.ktest.util.dsl
fun using(v: T) = v
fun using(dsl: (T.() -> R) -> R, dslApplication: T.() -> R) = dsl(dslApplication)
infix fun T.execute(dsl: T.() -> R) = dsl()
package run.smt.ktest.util.dsl
fun using(v: T) = v
fun using(dsl: (T.() -> R) -> R, dslApplication: T.() -> R) = dsl(dslApplication)
infix fun T.execute(dsl: T.() -> R) = dsl()