Method: ActiveSupport::MessagePack::Serializer#load
- Defined in:
- lib/active_support/message_pack/serializer.rb
#load(dumped) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/active_support/message_pack/serializer.rb', line 19 def load(dumped) .unpacker do |unpacker| unpacker.feed_reference(dumped) raise "Invalid serialization format" unless unpacker.read == SIGNATURE_INT unpacker.full_unpack end end |