instance method
serialize_entry
Ruby on Rails 8.0.4
Since v6.1.7.10 Private — implementation detail, not part of the public APISignature
serialize_entry(entry, **options)
No documentation comment.
Parameters
-
entryreq -
optionskeyrest
Source
# File activesupport/lib/active_support/cache.rb, line 807
def serialize_entry(entry, **options)
options = merged_options(options)
if @coder_supports_compression && options[:compress]
@coder.dump_compressed(entry, options[:compress_threshold])
else
@coder.dump(entry)
end
end
Defined in activesupport/lib/active_support/cache.rb line 807
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store