Project

General

Profile

Backport #2472

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

=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 
 

Back