All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gems.nokogiri-1.6.6.2-java.lib.nokogiri.xml.entity_decl.rb Maven / Gradle / Ivy

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy