From: "trans. (T. Onoma)" Date: 2004-11-17T22:26:48+09:00 Subject: Re: OpenStructable (was: OpenStruct#update) On Wednesday 17 November 2004 07:56 am, trans. (T. Onoma) wrote: | On Wednesday 17 November 2004 07:04 am, Mauricio Fern叩ndez wrote: | | While you are at it, please consider | | | | http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/3687 | | | | and the other msgs in that thread. | | Okay, thanks. So what constitutes compatible marshal data? Off the top of my head, would this work? def marshal_dump Marshal.dump(@table) end def marshal_load(obj) @table = Marshal.load(obj) @table.each_key{|key| self.new_ostruct_member(key) } end T.