Class: StaticConfig::Reader::YamlEnv

Inherits:
Base
  • Object
show all
Defined in:
lib/static_config/reader/yaml_env.rb

Instance Method Summary collapse

Methods inherited from Base

read, #read

Constructor Details

#initialize(opts = {}) ⇒ YamlEnv

Returns a new instance of YamlEnv.



7
8
9
10
# File 'lib/static_config/reader/yaml_env.rb', line 7

def initialize(opts = {})
  super
  @env = opts[:env]
end