Project

General

Profile

Backport #2472

ri generation problem

Added by avsej (Sergey Avseyev) over 9 years ago. Updated 7 days ago.

Status:
Closed
Priority:
Normal
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

History

#1

Updated by avsej (Sergey Avseyev) over 9 years ago

=begin
I have just checked on

ruby 1.9.2dev (2009-12-10 trunk 26061) [x86_64-linux]

It's seems ok.
=end

#2

Updated by jeremyevans0 (Jeremy Evans) 7 days ago

  • Status changed from Open to Closed
  • Description updated (diff)

Also available in: Atom PDF