Project

General

Profile

Actions

Backport #2472

closed

ri generation problem

Added by avsej (Sergey Avseyev) almost 15 years ago. Updated over 5 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 #1

Updated by avsej (Sergey Avseyev) almost 15 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

Actions #2

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

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

Also available in: Atom PDF

Like0
Like0Like0