123456789_123456789_123456789_123456789_123456789_

Module: ActiveSupport::Cache::SerializerWithFallback::MessagePackWithFallback

Instance Method Summary

Instance Method Details

#_load(dumped)

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 148

def _load(dumped)
  ActiveSupport::MessagePack::CacheSerializer.load(dumped)
end

#dump(value)

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 144

def dump(value)
  ActiveSupport::MessagePack::CacheSerializer.dump(value)
end

#dumped?(dumped) ⇒ Boolean

[ GitHub ]

  
# File 'activesupport/lib/active_support/cache/serializer_with_fallback.rb', line 152

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