Sha256: 45a6bbba0174499903499b666150ffd95d4a8cf27b9bcdb32ab79dd8e3329541
Contents?: true
Size: 511 Bytes
Versions: 18
Compression:
Stored size: 511 Bytes
Contents
module Houston module Adapters module Deployment class Engineyard class Config < EY::Config def initialize(config) @path = Struct.new(:exist?).new(true) @config = YAML.load(config) || {} # load_file returns `false' when the file is empty raise "ey.yml load error: Expected a Hash but a #{config.class.name} was returned." unless Hash === @config @config["environments"] ||= {} end end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems