module EnvSettings

Constants

VERSION

Public Class Methods

load(filepath = '') click to toggle source
# File lib/env_settings/base.rb, line 35
def self.load filepath = ''
        if File.exists?(filepath)
                HashTree.new(YAML.load_file(filepath))
        else
                raise "File #{filepath} not exists"
        end
end