module ActiveSupport::Messages::SerializerWithFallback::MessagePackWithFallback

def _load(dumped)

def _load(dumped)
  ActiveSupport::MessagePack.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(object)

def dump(object)
  ActiveSupport::MessagePack.dump(object)
end

def dumped?(dumped)

def dumped?(dumped)
  available? && ActiveSupport::MessagePack.signature?(dumped)
end

def format

def format
  :message_pack
end