Module: ActiveSupport::MessagePack
| Relationships & Source Files | |
| Namespace Children | |
|
Modules:
| |
|
Exceptions:
| |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Serializer
|
|
| Defined in: | 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 |
Class Attribute Summary
Serializer - Extended
Class Method Summary
-
.dump(object)
Dumps an object.
-
.load(dumped)
Loads an object dump created by .dump.
-
.signature?(dumped)
Returns true if the given dump begins with an
MessagePacksignature.
Serializer - Extended
Class Method Details
.dump(object)
Dumps an object. Raises MessagePack::UnserializableObjectError if the object type is not supported.
# File 'activesupport/lib/active_support/message_pack.rb', line 19
RDoc directive :singleton-method: dump
.load(dumped)
Loads an object dump created by .dump.
# File 'activesupport/lib/active_support/message_pack.rb', line 29
RDoc directive :singleton-method: load
.signature?(dumped)
Returns true if the given dump begins with an MessagePack signature.
# File 'activesupport/lib/active_support/message_pack.rb', line 49
rdoc_method :singleton-method: signature?