Project

General

Profile

Actions

Backport #2472

closed

ri generation problem

Added by avsej (Sergey Avseyev) over 14 years ago. Updated over 4 years ago.

Status:
Closed
Assignee:
-
[ruby-core:27124]

Description

=begin
rdoc generates irregular ri documentation when I have class Object in some module

create file (source attached)

module YAML
#
# Base class
#
class Object
def foo(opts = {})
"foo"
end
end

 #
 # Another class
 #
 class DomainType
   def bar(opts = {})
     "bar"
   end
 end

end

generate ri documentation (output files attached for ruby 1.8 and 1.9.1) with

rdoc --ri

There is infinite loop in inheritance tree for these classes for ruby 1.9.1. And it not possible to see documentation later.

Also you can try to view documentation for YAML::DomainType#new from standart ruby distribution. It has the same problem
=end


Files

types.rb (198 Bytes) types.rb target script avsej (Sergey Avseyev), 12/10/2009 07:43 PM
cdesc-Object.yaml (281 Bytes) cdesc-Object.yaml cdesc-Object.yaml for ruby-1.8 avsej (Sergey Avseyev), 12/10/2009 07:43 PM
cdesc-Object.yaml (310 Bytes) cdesc-Object.yaml cdesc-Object.yaml for ruby-1.9.1 avsej (Sergey Avseyev), 12/10/2009 07:43 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0