Skip to content

Commit

Permalink
[DOC] Adds to introduction of XML::Node (#3422)
Browse files Browse the repository at this point in the history
**What problem is this PR intended to solve?**

Clarifies the far-reaching importance of XML::Node.

**Have you included adequate test coverage?**

Doc only.

**Does this change affect the behavior of either the C or the Java
implementations?**

Doc only.
  • Loading branch information
BurdetteLamar authored Feb 5, 2025
1 parent 65fa87c commit 31d3da4
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion lib/nokogiri/xml/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,28 @@

module Nokogiri
module XML
# Nokogiri::XML::Node is the primary API you'll use to interact with your Document.
# \Class XML::Node defines many methods and constants
# that are important for working with an \XML document.
#
# XML::Node itself includes modules that add still more methods and constants:
#
# - Nokogiri::XML::Searchable
# - Ruby core's {Enumerable}[https://docs.ruby-lang.org/en/master/Enumerable.html]
#
# Each of the following classes is a subclass of XML::Node,
# and so inherits all the methods and constants mentioned above:
#
# - Nokogiri::XML::Attr
# - Nokogiri::XML::AttributeDecl
# - Nokogiri::XML::CharacterData
# - Nokogiri::XML::DTD
# - Nokogiri::XML::Document
# - Nokogiri::XML::DocumentFragment
# - Nokogiri::XML::Element
# - Nokogiri::XML::ElementDecl
# - Nokogiri::XML::EntityDecl
# - Nokogiri::XML::EntityReference
# - Nokogiri::XML::ProcessingInstruction
#
# == Attributes
#
Expand Down

0 comments on commit 31d3da4

Please sign in to comment.