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

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

2015-05-04 17:08:43
attributes

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

2015-05-04 16:31:03
page_file

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

2015-05-04 18:20:29
main=

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

2015-05-04 17:56:00
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
make_variable_map

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

2015-05-04 18:01:30
class_path

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

2015-05-04 16:43:25