diff options
Diffstat (limited to 'trunk/bin/rdoc')
-rw-r--r-- | trunk/bin/rdoc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/trunk/bin/rdoc b/trunk/bin/rdoc new file mode 100644 index 0000000000..e50285478d --- /dev/null +++ b/trunk/bin/rdoc @@ -0,0 +1,22 @@ +#!/usr/bin/env ruby +# +# RDoc: Documentation tool for source code +# (see lib/rdoc/rdoc.rb for more information) +# +# Copyright (c) 2003 Dave Thomas +# Released under the same terms as Ruby +# +# $Revision$ + +require 'rdoc/rdoc' + +begin + r = RDoc::RDoc.new + r.document ARGV +rescue Interrupt + $stderr.puts + $stderr.puts "Interrupted" +rescue RDoc::Error => e + $stderr.puts e.message + exit 1 +end |