Sha256: c861c37b2bb676f1e261e53f1031201113c685a9459e533d80133e72f215d164

Contents?: true

Size: 503 Bytes

Versions: 163

Compression:

Stored size: 503 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

      def inspect
        "#<#{self.class.name}:#{sprintf("0x%x", object_id)} #{to_s.inspect}>"
      end
    end
  end
end

Version data entries

163 entries across 156 versions & 6 rubygems

Version Path
nokogiri-1.11.6-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.6-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.6-x86-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.6-x64-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.6-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.6-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-x86_64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-x86-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-x64-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-java lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.5-arm64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4-x86_64-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4-x86_64-darwin lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4-x86-mingw32 lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4-x86-linux lib/nokogiri/xml/entity_decl.rb
nokogiri-1.11.4-x64-mingw32 lib/nokogiri/xml/entity_decl.rb