lib/dry/container/item/memoizable.rb in dry-container-0.9.0 vs lib/dry/container/item/memoizable.rb in dry-container-0.10.0
- old
+ new
@@ -39,10 +39,10 @@
private
# @private
def raise_not_supported_error
- raise ::Dry::Container::Error, "Memoize only supported for a block or a proc".freeze
+ raise ::Dry::Container::Error, "Memoize only supported for a block or a proc"
end
end
end
end
end