Sha256: f76dcb5122f00702a17befe99ec894423ce8c3a299a908d7a9691fafc81cae2c

Contents?: true

Size: 469 Bytes

Versions: 274

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

274 entries across 273 versions & 8 rubygems

Version Path
nokogiri-1.18.0.rc1-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1-arm-linux-musl lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1-arm-linux-gnu lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1-aarch64-linux-musl lib/nokogiri/xml/entity_decl.rb
nokogiri-1.18.0.rc1-aarch64-linux-gnu lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x86-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x86_64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x64-mingw-ucrt lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-x64-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-arm-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.2-aarch64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.1-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.17.1-x86-linux lib/nokogiri/xml/entity_decl.rb