but having basicailly a constant thrown locally feels weird, also a having it in baseUrl() function feels weird .. constant with %s and then string.format?
k
karelpeeters
01/22/2019, 9:30 PM
Using a lambda parameter:
doFoo { "https://${it}com/whatever" }
karelpeeters
01/22/2019, 9:30 PM
It opens up the possibility of more complex processing too.