Not sure what this method does, could it be cleared with http://www.ruby-doc.org/stdlib-2.0.0/libdoc/pathname/rdoc/index.html ?