From: ts Date: 2003-11-21T19:53:47+09:00 Subject: Re: continuations and clone problem >>>>> "S" == Simon Strandgaard writes: Try this (not tested) S> class IteratorContinuation def marshal_dump [@instance, @symbol] end def marshal_load(arr) initialize(*arr) end S> end S> i1 = IteratorContinuation.new("hello world", :each_byte) S> i1.next S> i1.next S> i1.next S> i2 = i1.clone # deep_clone not possible i2 = i1.deep_clone S> i2.next S> p i1.current S> p i2.current Guy Decoux