lib/vedeu/repositories/store.rb in vedeu-0.8.0 vs lib/vedeu/repositories/store.rb in vedeu-0.8.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
module Vedeu
module Repositories
# Provides generic repository related behaviour.
@@ -51,10 +53,10 @@
# Remove all currently stored data.
#
# @return [Array|Hash|Set]
def reset!
Vedeu.log(type: :reset,
- message: "(#{self.class.name}) #{registered.inspect}".freeze)
+ message: "(#{self.class.name}) #{registered.inspect}")
@storage = in_memory
end
alias_method :reset, :reset!
alias_method :clear, :reset