lib/ratis.rb in ratis-2.5.2.7 vs lib/ratis.rb in ratis-2.5.2.8
- old
+ new
@@ -48,6 +48,11 @@
def all_conditions_used?(conditions)
raise ArgumentError.new("Conditions not used by this class: #{conditions.keys.inspect}") unless conditions.empty?
end
+ # null out the config so that it can be rewritten to, then used in new 'get' calls
+ def reset
+ @config = nil
+ end
+
end