I'm trying to create a singleton object with parameters which are specified by runtime. Example:
object NetworkPusher {
val networkAdress = ???
...
}
Imagine the networkAdress param comes from the command-line. How can I make a workaround to do this?