Sha256: b3777304305085fd4de5bcc5634dcf96b4a2862aa0a41681fbc428ad283d968a
Contents?: true
Size: 343 Bytes
Versions: 8
Compression:
Stored size: 343 Bytes
Contents
require 'yaml' module AwsRds class Config def initialize(path="#{AwsRds.root}/config/#{AwsRds.env}.yml") @path = path end def settings YAML.load_file(@path) rescue Errno::ENOENT => e puts e.message puts "The #{@path} does not exist. Please double check that it exists." exit end end end
Version data entries
8 entries across 8 versions & 1 rubygems