instance method
_load
Ruby on Rails edge
Since v7.1.6Signature
_load(marked)
No documentation comment.
Parameters
-
markedreq
Source
# File activesupport/lib/active_support/cache/serializer_with_fallback.rb, line 89
def _load(marked)
dumped = marked.byteslice(1..-1)
if marked.start_with?(MARK_COMPRESSED)
dumped = begin
Zlib::Inflate.inflate(dumped)
rescue Zlib::Error => error
raise Cache::DeserializationError, "#{error.class}: #{error.message}"
end
end
Cache::Entry.unpack(marshal_load(dumped))
end
Defined in activesupport/lib/active_support/cache/serializer_with_fallback.rb line 89
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::SerializerWithFallback::Marshal70WithFallback