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 | e64bb30bc904a25d4136c3d5c551449747c18eb7 (patch) | |
tree | 59b1126fa6ab82e65ce76a25dae638bba5b576ae | |
parent | 45bb4a88b01c5975f90f6fdd90c6dacc91cdbcce (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.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 # |