From: Stefan Schmiedl Date: 2005-11-22T04:37:23+09:00 Subject: Re: Problem with Pickaxe and Yaml On Tue, 22 Nov 2005 04:21:05 +0900, Mark Haliday wrote: > I've got the Pickaxe book (2nd edition) and was doing some of the Yaml > code on page 417. I cannot seem to get the expected results. In this case: try walking through your code with irb. > > obj = Special.new("Hello", "there", "world") > data = YAML.dump(obj) > obj = YAML.load(data) > > puts obj["valuable"] puts obj.valuable > puts data["valuable"] data is "just a string" ... s.