From: Hal Fulton Date: 2004-03-15T03:47:51+09:00 Subject: YAML questions Since I notice _why is around, I'll ask a couple of things that have been on my mind. First of all, are there guidelines somewhere for writing YAML manually? I can't figure out how to put hashes/arrays in a single line instead of multiple lines. (I got the idea this was possible somehow.) Also, why don't we have #load_file and #dump_file or something of that nature? I frequently find myself doing: obj = nil File.open("filename") {|f| obj = YAML.load(f) } when I want to do: obj = YAML.load_file("filename") Just a thought. Hal