diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 20:28:44 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 20:28:44 +0000 |
commit | bc8c73c42a552fcc1d414c3475c64099f5a246d6 (patch) | |
tree | ebee43a2f527178f880b89405e30d630158975b7 /lib/rdoc/ri/ri_writer.rb | |
parent | 6ef31af2d178fb4916150d317ceafe156fccdf65 (diff) |
Put RDoc comments into array.c, and refine rdoc/ri to deal with stuff that arose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri/ri_writer.rb')
-rw-r--r-- | lib/rdoc/ri/ri_writer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/ri/ri_writer.rb b/lib/rdoc/ri/ri_writer.rb index 072b3acfea..70468cb1f5 100644 --- a/lib/rdoc/ri/ri_writer.rb +++ b/lib/rdoc/ri/ri_writer.rb @@ -28,7 +28,7 @@ module RI def add_method(class_desc, method_desc) dir = path_to_dir(class_desc.full_name) meth_file_name = File.join(dir, method_desc.name) - if method_desc.is_class_method + if method_desc.is_singleton meth_file_name += "-c.yaml" else meth_file_name += "-i.yaml" |