2003-12-16 00:44:25 -05:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
# usage:
|
|
|
|
#
|
|
|
|
# ri name...
|
|
|
|
#
|
|
|
|
# where name can be
|
|
|
|
#
|
|
|
|
# Class | Class::method | Class#method | Class.method | method
|
|
|
|
#
|
|
|
|
# All names may be abbreviated to their minimum unbiguous form. If a name
|
|
|
|
# _is_ ambiguous, all valid options will be listed.
|
|
|
|
#
|
2003-12-18 22:58:57 -05:00
|
|
|
# The form '.' method matches either class or instance methods, while
|
|
|
|
# #method matches only instance and ::method matches only class methods.
|
2003-12-16 00:44:25 -05:00
|
|
|
|
2004-01-06 00:59:31 -05:00
|
|
|
require 'rdoc/ri/ri_driver'
|
2004-01-02 01:01:12 -05:00
|
|
|
|
|
|
|
######################################################################
|
|
|
|
|
2004-01-06 00:59:31 -05:00
|
|
|
ri = RiDriver.new
|
2004-01-02 01:01:12 -05:00
|
|
|
ri.process_args
|
|
|
|
|