Bug #2472: ri generation problem
http://redmine.ruby-lang.org/issues/show/2472

Author: Sergey Avseyev
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [x86_64-linux]

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


----------------------------------------
http://redmine.ruby-lang.org