From: Andrew Hite Date: 2007-10-10T08:46:49+09:00 Subject: YAML to Struct Is it possible to take YAML and turn it into a Struct? I want to take something that looks like this: key_1: Value 1 key_2: Value 2 And turn it into an object with accessors...and I'm assuming a Struct would be my best bet. I'm relatively new to the concepts of YAML and the Struct class, so I'm banging my head against the wall trying to figure this out. Any ideas? -- Posted via http://www.ruby-forum.com/.