Module: ActiveSupport::MessagePack
| Relationships & Source Files | |
| Namespace Children | |
| Modules: | |
| Exceptions: | |
| 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 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.
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?