#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/Marshall # Check the page for copyright notice and explanations >> class Mia >> def initialize(a) >> @a=a >> end >> end => nil >> m=Mia.new 10 => # >> str= Marshal.dump m => "\004\010o:\010Mia\006:\a@ai\017" >> Marshal.load str => #