Hi,

At Sun, 2 Mar 2003 06:51:38 +0900,
Joel VanderWerf wrote:
>    file.rewind
>    file.truncate(0)
>    file.syswrite(Marshal.dump(obj))

It's safe because IO#rewind and underlying IO#seek implies
IO#flush.

-- 
Nobu Nakada