module ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback
def _load(dumped)
def _load(dumped) ActiveSupport::MessagePack::CacheSerializer.load(dumped) end
def available?
def available? return @available if defined?(@available) silence_warnings { require "active_support/message_pack" } @available = true rescue LoadError @available = false end
def dump(value)
def dump(value) ActiveSupport::MessagePack::CacheSerializer.dump(value) end
def dumped?(dumped)
def dumped?(dumped) available? && ActiveSupport::MessagePack.signature?(dumped) end