Type:
Class

A set of rdoc data for a single project (gem, path, etc.).

The store manages reading and writing ri data for a project and maintains a cache of methods, classes and ancestors in the store.

The store maintains a cache of its contents for faster lookup. After adding items to the store it must be flushed using save_cache. The cache contains the following structures:

1
2
3
4
5
6
7
8
@cache = {
  :ancestors        => {}, # class name => ancestor names
  :attributes       => {}, # class name => attributes
  :class_methods    => {}, # class name => class methods
  :instance_methods => {}, # class name => instance methods
  :modules          => [], # classes and modules in this store
  :pages            => [], # page names
}
load_class_data
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

load_class_data(klass_name) Instance Public methods Loads ri data for

2025-01-10 15:47:30
find_class_named_from
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

find_class_named_from(name, from) Instance Public methods Finds the class with

2025-01-10 15:47:30
classes_hash
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

classes_hash() Instance Public methods

2025-01-10 15:47:30
load_class
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

load_class(klass_name) Instance Public methods Loads ri data for klass_name

2025-01-10 15:47:30
all_files
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

all_files() Instance Public methods All TopLevels known to

2025-01-10 15:47:30
fix_basic_object_inheritance
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

fix_basic_object_inheritance() Instance Public methods Fixes the erroneous BasicObject

2025-01-10 15:47:30
unique_classes_and_modules
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

unique_classes_and_modules() Instance Public methods Returns the unique classes

2025-01-10 15:47:30
load_method
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

load_method(klass_name, method_name) Instance Public methods Loads ri data for

2025-01-10 15:47:30
title=
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

title=(title) Instance Public methods Sets the title page for this

2025-01-10 15:47:30
class_methods
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Store

class_methods() Instance Public methods

2025-01-10 15:47:30