Module: SecureConf::Storage

Defined in:
lib/secure_conf/storage.rb,
lib/secure_conf/storage/yaml.rb

Defined Under Namespace

Modules: Yaml

Constant Summary collapse

Yml =
Yaml

Class Method Summary collapse

Class Method Details

.fetch(path) ⇒ Object



5
6
7
8
# File 'lib/secure_conf/storage.rb', line 5

def self.fetch(path)
  ext = File.extname(path).sub(".", "").capitalize
  const_get(ext)
end