mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
96ff9b04c1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
22 lines
548 B
Ruby
Executable file
22 lines
548 B
Ruby
Executable file
#!/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.
|
|
#
|
|
# The form '.' method matches either class or instance methods, while
|
|
# #method matches only instance and ::method matches only class methods.
|
|
|
|
require 'rdoc/ri/ri_driver'
|
|
|
|
######################################################################
|
|
|
|
ri = RiDriver.new
|
|
ri.process_args
|
|
|