lib/vedeu/repositories/repository.rb in vedeu-0.4.28 vs lib/vedeu/repositories/repository.rb in vedeu-0.4.29
- old
+ new
@@ -108,11 +108,10 @@
# Returns a collection of the names of all the registered entities.
#
# @return [Array]
def registered
- return [] if empty?
-
+ return [] if empty?
return storage.keys if storage.is_a?(Hash)
return storage.to_a if storage.is_a?(Set)
storage
end