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

find_text_page(file_name) Instance Public methods Returns the

2015-05-04 17:16:58
save_page

save_page(page) Instance Public methods Writes the ri data for page

2015-05-04 18:51:45
instance_methods

instance_methods() Instance Public methods Instance methods cache accessor.

2015-05-04 17:29:12
find_class_named

find_class_named(name) Instance Public methods Finds the class with name

2015-05-04 16:58:03
class_path

class_path(klass_name) Instance Public methods Path where data for klass_name

2015-05-04 16:43:25
module_names

module_names() Instance Public methods Modules cache accessor. An Array of

2015-05-04 18:12:03
complete

complete(min_visibility) Instance Public methods Prepares the

2015-05-04 16:45:21
unique_classes

unique_classes() Instance Public methods Returns the unique classes discovered

2015-05-04 19:01:07
modules_hash

modules_hash() Instance Public methods

2015-05-04 18:16:45
save_cache

save_cache() Instance Public methods Writes the cache file for this store

2015-05-04 18:34:15