Sha256: 554a34cf48c3f71890412bb4154e71ce6ea702c929752f8f07e55d940d12682a
Contents?: true
Size: 352 Bytes
Versions: 2
Compression:
Stored size: 352 Bytes
Contents
# frozen_string_literal: true module Anyway module Loaders class Env < Base def call(env_prefix:, **_options) env = ::Anyway::Env.new(type_cast: ::Anyway::NoCast) env.fetch_with_trace(env_prefix).then do |(conf, trace)| Tracing.current_trace&.merge!(trace) conf end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
runger_config-3.0.1 | lib/anyway/loaders/env.rb |
runger_config-3.0.0 | lib/anyway/loaders/env.rb |