Skip to content

In v6.8.1, C extension objects "Ancestors" list shows C symbol name instead of class name #1205

Closed
@flavorjones

Description

@flavorjones

Hi! I love the ancestors list, but I found an edge case with how it handles C extensions.

Take a look at the sidebar at https://nokogiri.org/rdoc/Nokogiri/HTML4/Document.html which was generated from 50dda13:

image

The actual ancestors list is:

Nokogiri::XML::Document
+- Nokogiri::XML::Node
   +- Object
      +- BasicObject

but instead it's showing cNokogiriXmlNode which is the C symbol that references the Nokogiri::XML::Node class (from ext/nokogiri/xml_node.c).

I haven't had time to dig into this yet, but wanted to raise an issue in case someone has the time to look.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions