Permalink
Newer
Older
100644 23 lines (20 sloc) 410 Bytes
Feb 25, 2008
1
#!/usr/bin/env ruby
2
#
3
# RDoc: Documentation tool for source code
4
# (see lib/rdoc/rdoc.rb for more information)
5
#
6
# Copyright (c) 2003 Dave Thomas
7
# Released under the same terms as Ruby
8
#
9
# $Revision: 15033 $
10
11
require 'rdoc/rdoc'
12
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