class Ronn::Document
def path_for(type=nil)
Document#basename method to generate the basename part and
Construct a path for a file near the source file. Uses the
def path_for(type=nil) if @basename File.join(File.dirname(path), basename(type)) else basename(type) end end