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:

@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
}
source

source() Instance Public methods Source of the contents of this store.

2015-05-04 18:54:25
find_module_named

find_module_named(name) Instance Public methods Finds the module with name

2015-05-04 17:15:30
find_class_or_module

find_class_or_module(name) Instance Public methods Finds the class or module

2015-05-04 17:02:06
files_hash

files_hash() Instance Public methods

2015-05-04 16:49:21
add_c_enclosure

add_c_enclosure(variable, namespace) Instance Public methods Adds module

2015-05-04 15:53:54
add_file

add_file(absolute_name, relative_name = absolute_name) Instance Public methods Adds

2015-05-04 16:03:17
save_class

save_class(klass) Instance Public methods Writes the ri data for klass

2015-05-04 18:40:15
all_modules

all_modules() Instance Public methods Returns all modules discovered by

2015-05-04 16:20:38
class_file

class_file(klass_name) Instance Public methods Path to the ri data for

2015-05-04 16:37:36
all_classes_and_modules

all_classes_and_modules() Instance Public methods Returns all classes and modules

2015-05-04 16:10:14