diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:08:29 +0100 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-04-16 16:08:29 +0100 |
commit | a1c495fd685782e381c027e7f329a14cc01c8dca (patch) | |
tree | e32ec6676920923fc3988d72b82f0591f5d27c76 /lib/custodian/settings.rb | |
parent | 1d61bb2036d817a54ec0152d14d3bf2a6ef52ad7 (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.
Diffstat (limited to 'lib/custodian/settings.rb')
-rw-r--r-- | lib/custodian/settings.rb | 6 |
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 # |