Sha256: 672da9869867103be46c7490cb681b705bc13edad9a5f00d335cfc26af393de7
Contents?: true
Size: 248 Bytes
Versions: 16
Compression:
Stored size: 248 Bytes
Contents
module Sunzi module Cli::Secrets extend self attr_accessor :env def load_env(stage) path = File.expand_path('config/secrets.yml') @env = HashWithIndifferentAccess.new(YAML.load(File.read(path))[stage]) end end end
Version data entries
16 entries across 16 versions & 1 rubygems