lib/garage/config.rb in the_garage-2.0.3 vs lib/garage/config.rb in the_garage-2.1.0
- old
+ new
@@ -4,10 +4,10 @@
def self.configure(&block)
@config = Config::Builder.new(&block).build
end
def self.configuration
- @config
+ @config ||= configure {}
end
class Config
DEFAULT_RESCUE_ERROR = true