Sha256: 79af9d822e0db91a8c3dd12073626a8f6044f07f87bfd0a044ee00f72c0883ef
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
module ParamStore module Adapters class Env def fetch(key, *args, &block) ENV.fetch(key, *args, &block) end def fetch_all(*keys) keys = keys.flatten keys.each_with_object({}) do |key, result| result[key] = ENV[key] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
param_store-0.0.1 | lib/param_store/adapters/env.rb |