Introducing the Dir-to-XML gem require 'dir-to-xml' DirToXML.new.latest #=> returns the latest file gem dir-to-xml dirtoxml