From: Joel VanderWerf Date: 2004-05-04T06:28:35+09:00 Subject: Re: YAML vs. Marshal Bill Atkins wrote: > Is there any reason to use Marshal instead of YAML? Is there anything > Marshal can do that YAML cannot? Here's one: > Marshal.dump [String, Integer] # =>"\004\010[\ac\vStringc\fInteger" > YAML.dump [String, Integer] ArgumentError: can't dump anonymous class Class However, you can get around that--see [ruby-talk:95432]. Marshal is, in my experience, a bit faster.