Skip to content

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

Closed

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.

Activity

  1. changed the title [-](master) Ancestors list shows C symbol name instead of class[/-] [+]In v6.8.1, C extension objects "Ancestors" list shows C symbol name instead of class name[/+] on Nov 28, 2024
  2. added 2 commits that reference this issue on Nov 28, 2024
    ae631cb
    8013d3d
  3. added a commit that references this issue on Nov 30, 2024
    1ecd958
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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