* transcode.c (transcode_restartable): my_transcoder argument removed.
[ruby-svn.git] / bin / rdoc
blobe50285478d36d04e907a2af89356b8c92f6a5a39
1 #!/usr/bin/env ruby
3 # RDoc: Documentation tool for source code
4 # (see lib/rdoc/rdoc.rb for more information)
6 # Copyright (c) 2003 Dave Thomas
7 # Released under the same terms as Ruby
9 # $Revision$
11 require 'rdoc/rdoc'
13 begin
14 r = RDoc::RDoc.new
15 r.document ARGV
16 rescue Interrupt
17 $stderr.puts
18 $stderr.puts "Interrupted"
19 rescue RDoc::Error => e
20 $stderr.puts e.message
21 exit 1
22 end