Fix up Rubinius specific library specs.
[rbx.git] / lib / bin / rdoc
blob0ad244da879e806a959badb64d4a07e51c341124
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: 15033 $
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