class Persey::Adapters::Toml

Public Class Methods

load(file, env) click to toggle source
# File lib/persey/adapters/toml.rb, line 7
def load(file, env)
  begin
    raw_hash = TOML.load_file(file)
    symbolize_keys(raw_hash)
  rescue
    puts "FATAL: Error while process config from file '#{file}'"
  end
end