lib/vedeu/repositories/repository.rb in vedeu-0.4.7 vs lib/vedeu/repositories/repository.rb in vedeu-0.4.8
- old
+ new
@@ -60,10 +60,10 @@
# Find the model attributes by name.
#
# @param name [String]
# @raise [ModelNotFound] When the model cannot be found with this name.
- # @return [Hash]
+ # @return [Hash<String => Object>]
def find(name)
storage.fetch(name) do
fail ModelNotFound, "Cannot find model by name: '#{name}'"
end
end