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_file_named

find_file_named(name) Instance Public methods Finds the file with name

2015-05-04 17:08:43
page_file

page_file(page_name) Instance Public methods Path to the ri data for

2015-05-04 18:20:29
save_method

save_method(klass, method) Instance Public methods Writes the ri data for method

2015-05-04 18:45:24
page

page(name) Instance Public methods Returns the

2015-05-04 18:19:37
main=

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

2015-05-04 17:56:00
attributes

attributes() Instance Public methods Attributes cache accessor. Maps a class

2015-05-04 16:31:03
make_variable_map

make_variable_map(variables) Instance Public methods Converts the variable =>

2015-05-04 18:01:30
find_text_page

find_text_page(file_name) Instance Public methods Returns the

2015-05-04 17:16:58
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