Class XmlSimple offers an easy API to read and write XML. It is a Ruby translation of Grant McLean's Perl module XML::Simple. Simply put, it automatically converts XML documents into a Ruby Hash.