We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf7aca2 commit 3b96857Copy full SHA for 3b96857
lib/rdoc/ri/store.rb
@@ -7,6 +7,18 @@
7
# The store manages reading and writing ri data for a project (gem, path,
8
# etc.) and maintains a cache of methods, classes and ancestors in the
9
# store.
10
+#
11
+# The store maintains a #cache of its contents for faster lookup. After
12
+# adding items to the store it must be flushed using #save_cache. The cache
13
+# contains the following structures:
14
15
+# @cache = {
16
+# :class_methods => {}, # class name => class methods
17
+# :instance_methods => {}, # class name => instance methods
18
+# :attributes => {}, # class name => attributes
19
+# :modules => [], # classes and modules in this store
20
+# :ancestors => {}, # class name => ancestor names
21
+# }
22
23
class RDoc::RI::Store
24
0 commit comments