I think I know why this doesn't work ! You must tell YAML what a Gang is, or it won't recognize your struct when parsing the file. I suggest you read about YAML.add_domain_type and YAML::DomainType, and maybe inspecting Hobix' source (it may be a little bit messy at first glance)
I used custom classes in a project, if you need more help I can show you my code. -- François
