method
dump_version
v8.1.1 -
Show latest stable
- Class:
ActiveSupport::Cache::Coder
dump_version(version)private
No documentation available.
# File activesupport/lib/active_support/cache/coder.rb, line 136
def dump_version(version)
if version.encoding != Encoding::UTF_8 || version.start_with?(MARSHAL_SIGNATURE)
Marshal.dump(version)
else
version.b
end
end