To get a YAML serializer :
serializer = Serializer.new(:yaml)
A marshal + base64 one :
serializer = Serializer.new(:marshal64)
A marshal only one :
serializer = Serializer.new(:marshal)
For the rest, it's the classical :
data = serializer.encode(object) object = serializer.decode(data)
Generated with the Darkfish Rdoc Generator 2.