diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-18 21:08:25 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-18 21:08:25 +0000 |
commit | 84f0b051de55b80211eab0ad2438f500af45e4a5 (patch) | |
tree | e1dc66c1eeaa459b2d9578e2b63cb9442f819368 /lib/rdoc/ri/ri_descriptions.rb | |
parent | f75aff0139347afb89fcb931f6cc78703bb5c36a (diff) | |
download | ruby-84f0b051de55b80211eab0ad2438f500af45e4a5.tar.gz |
Annotate enum.c. Add pager support, and report on methods in included modules
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri/ri_descriptions.rb')
-rw-r--r-- | lib/rdoc/ri/ri_descriptions.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rdoc/ri/ri_descriptions.rb b/lib/rdoc/ri/ri_descriptions.rb index f99905719b..47984cf41d 100644 --- a/lib/rdoc/ri/ri_descriptions.rb +++ b/lib/rdoc/ri/ri_descriptions.rb @@ -46,6 +46,14 @@ module RI attr_accessor :superclass attr_accessor :includes + # merge in another class desscription into this one + def merge_in(old) + @class_methods.concat(old.class_methods).sort! + @instance_methods.concat(old.instance_methods).sort! + @attributes.concat(old.attributes).sort! + @constants.concat(old.constants).sort! + @includes.concat(old.includes).sort! + end end class MethodDescription < Description |