1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

8 commits

Author SHA1 Message Date
matz
4514a6bee6 * lib/irb/cmd/help.rb: should be updated for new ri structure.
[ruby-core:15825]

* lib/rdoc/ri/driver.rb (RDoc::initialize): allow options to be optional.

* lib/rdoc/ri/driver.rb (RDoc::class_cache): map_dirs may be
  empty.

* lib/rdoc/ri/driver.rb (RDoc::get_info_for): revive get_info_for
  method.  maybe broken.

* lib/rdoc/ri/util.rb (RDoc::initialize): should not use RiError
  no more.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-03-12 18:13:48 +00:00
naruse
baa1468895 * lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-08 00:54:21 +00:00
usa
d2bb8975e1 * lib/rdoc/ri/display.rb (display_method_list, display_class_list):
use @formatter.raw_print_line instead of puts.

	* lib/rdoc/ri/driver.rb (select_methods): new method to collect all
	  instance/class methods which match with passed pattern.

	* lib/rdoc/ri/driver.rb (run): use class_cache's result directly
	  instead of select_classes' because it's removed now.

	* lib/rdoc/ri/driver.rb (run): search methods when passed name is not
	  class name. [ruby-core:15309]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-31 05:10:58 +00:00
usa
087801b64b * lib/rdoc/ri/driver.rb (cache_file_for): shoudn't use `:' in filename.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-30 05:33:49 +00:00
drbrain
fcb0b1f503 Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-14 03:34:05 +00:00
drbrain
b5417ef56d Follow namespace change for RDoc/RI [ruby-core:14964]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-11 09:18:53 +00:00
drbrain
edeeefb7a5 Speed up Marshal load, fix bug with nested classes' methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:49:19 +00:00
drbrain
3e39ade457 Clean up namespacing of RI's classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-01-08 10:18:41 +00:00
Renamed from lib/rdoc/ri/ri_driver.rb (Browse further)