From: why the lucky stiff Date: 2004-02-13T02:24:34+09:00 Subject: Re: YAML and Class Martin Hart wrote: >Hi all, > >I notice that the default YAML (ruby 1.8.1) does not dump or load Class by >default. > nor does marshal: >> Marshal.dump( Class.new ) TypeError: can't dump anonymous class # from (irb):1:in `dump' from (irb):1 i can't recall why this is, but the rule is there because I've adhered to marshal's rules. nahi or matz is better equipped to answer. i thought we had this discussion on ruby-core, but i can't seem to find the reasoning. _why