Looks up and displays ri data according to the options given.
# File lib/rdoc/ri/driver.rb, line 1133
def run
if @list_doc_dirs then
puts @doc_dirs
elsif @list then
list_known_classes @names
elsif @interactive or @names.empty? then
interactive
else
display_names @names
end
rescue NotFoundError => e
abort e.message
end