summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-04-16 16:08:29 +0100
committerSteve Kemp <steve@steve.org.uk>2015-04-16 16:08:29 +0100
commita1c495fd685782e381c027e7f329a14cc01c8dca (patch)
treee32ec6676920923fc3988d72b82f0591f5d27c76
parent1d61bb2036d817a54ec0152d14d3bf2a6ef52ad7 (diff)
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.
-rw-r--r--lib/custodian/settings.rb6
1 files changed, 6 insertions, 0 deletions
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
#