fixed bug in RDoc instantiation
This commit is contained in:
parent
b67a91edca
commit
0fc833e417
|
@ -11,7 +11,7 @@ rescue Exception => e
|
||||||
end
|
end
|
||||||
|
|
||||||
def build_ri(files)
|
def build_ri(files)
|
||||||
RDoc::RDoc.new(["--ri-site", "--merge"] + files)
|
RDoc::RDoc.new.document(["--ri-site", "--merge"] + files)
|
||||||
rescue RDoc::RDocError => e
|
rescue RDoc::RDocError => e
|
||||||
$stderr.puts e.message
|
$stderr.puts e.message
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
|
|
Loading…
Reference in a new issue