From e64bb30bc904a25d4136c3d5c551449747c18eb7 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Thu, 16 Apr 2015 16:08:29 +0100 Subject: Correctly initialize our state. We'd failed to set the default value of our loaded-marker to false, although in-practice this wasn't a problem. --- lib/custodian/settings.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index 73e7c4b..181ced0 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -30,6 +30,12 @@ module Custodian attr_reader :parsed + # + # Constructor. Only called once, as we're a singleton. + # + def initialize + @parsed = false + end # -- cgit v1.2.1