1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rdoc
Nobuyoshi Nakada ebcbca96fb [ruby/rdoc] Fix full name of known class
Properly set the name of `File::Constants`, which is the only name
with a namespace in `RDoc::KNOWN_CLASSES`, and fixes longstanding bug
that `File::Constants` becomes `File::File::Constants`.

When it is generated by `rb_file_const` in dir.c, `name` is set to the
qualified name as same as `full_name`, and generated in the normal way
in file.c later, already set `full_name` is cleared and `name` will be
constructed from the enclosing namespace and the `name`.  It will
results in duplicated namespace, `File::File::Constants`.

3a8d6df562
2022-03-16 15:05:41 +09:00
..
context
generator
i18n
markdown
markup
parser [ruby/rdoc] Fix full name of known class 2022-03-16 15:05:41 +09:00
rd
ri
stats
.document
alias.rb
anon_class.rb
any_method.rb
attr.rb
class_module.rb
code_object.rb
code_objects.rb
comment.rb
constant.rb
context.rb
cross_reference.rb
encoding.rb
erb_partial.rb
erbio.rb
extend.rb
generator.rb
ghost_method.rb
i18n.rb
include.rb
known_classes.rb
markdown.rb
markup.rb
meta_method.rb
method_attr.rb
mixin.rb
normal_class.rb
normal_module.rb
options.rb
parser.rb
rd.rb
rdoc.gemspec
rdoc.rb
require.rb
ri.rb
rubygems_hook.rb
servlet.rb
single_class.rb
stats.rb
store.rb
task.rb
text.rb
token_stream.rb
tom_doc.rb
top_level.rb
version.rb