primitive val EnvVars
new val create() : EnvVars val^
Turns an array of strings that look like environment variables, ie. key=value, into a map of string to string. Can optionally filter for keys matching a 'prefix', and will squash resulting keys to lowercase iff 'squash' is true.
So:
fun box apply( envs: (Array[String val] box | None val), prefix: String val = "", squash: Bool val = false) : HashMap[String val, String val, HashEq[String val] val] val
fun box eq( that: EnvVars val) : Bool val
fun box ne( that: EnvVars val) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/cli-EnvVars