```open class Scope() { internal var workspace...
# tornadofx
a
Copy code
open class Scope() {
    internal var workspaceInstance: Workspace? = null

    constructor(workspace: Workspace, vararg setInScope: ScopedInstance) : this() {
        set(*setInScope)
        workspaceInstance = workspace
    }

    constructor(vararg setInScope: ScopedInstance) : this() {
        set(*setInScope)
    }
 ....
}
vararg
is the Kotlin equivalent of the Ruby feature * which means you don't know how many parameters there are