Sha256: f76dcb5122f00702a17befe99ec894423ce8c3a299a908d7a9691fafc81cae2c

Contents?: true

Size: 469 Bytes

Versions: 261

Compression:

Stored size: 469 Bytes

Contents

# frozen_string_literal: true

module Nokogiri
  module XML
    class EntityDecl < Nokogiri::XML::Node
      undef_method :attribute_nodes
      undef_method :attributes
      undef_method :namespace
      undef_method :namespace_definitions
      undef_method :line if method_defined?(:line)

      def self.new(name, doc, *args)
        doc.create_entity(name, *args)
      end

      private

      def inspect_attributes
        [:to_s]
      end
    end
  end
end

Version data entries

261 entries across 261 versions & 7 rubygems

Version Path
nokogiri-1.16.8-x86_64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-x64-mingw-ucrt lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-x64-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-arm-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.8-aarch64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x86_64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x86-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x64-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-x64-mingw-ucrt lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-arm-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.16.7-aarch64-linux lib/nokogiri/xml/entity_decl.rb