summaryrefslogtreecommitdiff
path: root/lib/rdoc/ri/ri_descriptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/ri/ri_descriptions.rb')
-rw-r--r--lib/rdoc/ri/ri_descriptions.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/rdoc/ri/ri_descriptions.rb b/lib/rdoc/ri/ri_descriptions.rb
index e80b4ebe05..f99905719b 100644
--- a/lib/rdoc/ri/ri_descriptions.rb
+++ b/lib/rdoc/ri/ri_descriptions.rb
@@ -1,5 +1,9 @@
require 'yaml'
+# Descriptions are created by RDoc (in ri_generator) and
+# written out in serialized form into the documentation
+# tree. ri then reads these to generate the documentation
+
module RI
Alias = Struct.new(:old_name, :new_name)
AliasName = Struct.new(:name)
@@ -35,7 +39,8 @@ module RI
class ClassDescription < Description
- attr_accessor :method_list
+ attr_accessor :class_methods
+ attr_accessor :instance_methods
attr_accessor :attributes
attr_accessor :constants
attr_accessor :superclass