Not specific to yaml, really, this is a nifty little config class written to be easy to work with.
This is my extraction and cleanup of YAMLConfig from NGSLib: http://rubyforge.org/projects/ngslib/
Special thanks to @erikh for his contributions to this project