struct
Foundation::MockEnv
- Foundation::MockEnv
- Foundation::Env
- Struct
- Value
- Object
Overview
Wraps a Hash(String, String), so #[]? delegates to h[key]? in order to give specs a hermetic env without messing with real process env vars.
Defined in:
foundation/env.crConstructors
Instance Method Summary
- #[]=(key : String, value : String) : String
- #[]?(key : String) : String | Nil
- #h : Hash(String, String)