From: Dave Thomas Date: 2003-06-23T22:16:55+09:00 Subject: Re: Marshal bug? Michael Campbell wrote: >>>irb(main):001:0> a=File.new('somefile','r') >> >> ^^ read-only file >>>irb(main):002:0> Marshal.dump(a.stat) >>>TypeError: can't dump File::Stat >>> from (irb):2:in `dump' >>> from (irb):2 >>>irb(main):003:0> > > Maybe I misread, but I think he was asking why a.stat instance > couldn't be marshalled, not why you couldn't marshal to the file > referenced by 'a', no? Sorry - posted too soon. You're right. Dave