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
}
add_c_enclosure

add_c_enclosure(variable, namespace) Instance Public methods Adds module

2015-05-04 15:53:54
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
files_hash

files_hash() Instance Public methods

2015-05-04 16:49:21
find_class_or_module

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

2015-05-04 17:02:06
find_module_named

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

2015-05-04 17:15:30
class_file

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

2015-05-04 16:37:36
source

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

2015-05-04 18:54:25
add_file

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

2015-05-04 16:03:17
classes_hash

classes_hash() Instance Public methods

2015-05-04 16:44:26