From: Phillip Gawlowski Date: 2009-12-31T15:18:32+09:00 Subject: Re: Where to find a description of yaml for ruby? On 31.12.2009 06:45, Albert Schlef wrote: > You know, I'm beginning to hate YAML. It loooked deceivingly simple at > first. But it turns out it's quite complicated. XML is quite simple by > comparison. See that guy in the corner? Twitching and twisting? He wrote an ANT makefile once. ;) But one thing is annoying with YAML: Significant whitespace. \t or a proper space have different meanings, as does the amount of space. Ain't it grant that require "yaml" var = Object.to_yaml # or dump, if you want to write a file another_var = YAML.load var makes it so very easy to use? And it can be read (not necessarily written) by humans, too. Try reading and writing XML in just one three lines! ;) -- Phillip Gawlowski