RailsDoc(β)
  • v8.0
    v8.1 v8.0 v7.2 v7.1 v7.0 v6.1 v6.0 v5.2
  • GitHub
  • Namespace
    • Module
    • Class
  • Methods
  • Class Public methods
    • dump(object)
    • load(dumped)
    • signature?(dumped)
Ruby on Rails 8.0.3
Module

ActiveSupport::MessagePack

  • activesupport/lib/active_support/message_pack.rb
  • activesupport/lib/active_support/message_pack/cache_serializer.rb
  • activesupport/lib/active_support/message_pack/extensions.rb
  • activesupport/lib/active_support/message_pack/serializer.rb

Namespace

Module

  • ActiveSupport::MessagePack::CacheSerializer

Class

  • ActiveSupport::MessagePack::UnserializableObjectError

Methods

  • dump
  • load
  • signature?

Class Public methods

dump(object)

Dumps an object. Raises ActiveSupport::MessagePack::UnserializableObjectError if the object type is not supported.

🔎 See on GitHub

load(dumped)

Loads an object dump created by ::dump.

🔎 See on GitHub

signature?(dumped)

Returns true if the given dump begins with an ActiveSupport::MessagePack signature.

🔎 See on GitHub