lib/rock_config.rb in rock_config-0.0.1 vs lib/rock_config.rb in rock_config-0.0.2
- old
+ new
@@ -1,15 +1,14 @@
require "rock_config/version"
+require "rock_config/errors"
require "rock_config/environment_detector"
require "rock_config/configuration"
require "rock_config/manager"
require "rock_config/scanner"
require "rock_config/yaml_loader"
require "rock_config/config"
module RockConfig
- class ConfigNotFound < Exception; end
-
class << self
def for(config_name, environment = detect_environment)
manager.fetch(config_name, environment)
end