fixed bug in RDoc instantiation

This commit is contained in:
blackhedd 2006-05-03 05:38:58 +00:00
parent b67a91edca
commit 0fc833e417

View file

@ -11,7 +11,7 @@ rescue Exception => e
end
def build_ri(files)
RDoc::RDoc.new(["--ri-site", "--merge"] + files)
RDoc::RDoc.new.document(["--ri-site", "--merge"] + files)
rescue RDoc::RDocError => e
$stderr.puts e.message
rescue Exception => e