lib/vedeu/repositories/store.rb in vedeu-0.6.60 vs lib/vedeu/repositories/store.rb in vedeu-0.6.61
- old
+ new
@@ -49,16 +49,16 @@
end
# Remove all currently stored data.
#
# @return [Array|Hash|Set]
- def reset
+ def reset!
Vedeu.log(type: :reset,
message: "(#{self.class.name}) #{registered.inspect}".freeze)
@storage = in_memory
end
- alias_method :reset!, :reset
+ alias_method :reset, :reset!
alias_method :clear, :reset
# Return the number of entries stored.
#
# @return [Fixnum]