RSSAmplifier

Ilya Bylich - Blog · Jan 26, 2016

Ruby Marshalling from A to Z

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

What is Marshalling # Marshalling is a serialization process when you convert an object to a binary string. Ruby has a standard class Marshal that does all the job for serialization and deserialization. To serialize an object, use Marshal.dump , to deserialize - Marshal.load or Marshal.restore . copy marshalled = Marshal . dump( [ 1 , 2 , 'string' , Object . new ] ) # =>…

Read on /2016-01-26-ruby-marshalling-from-a-to-z/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.