/usr/lib/ruby/vendor_ruby/nokogiri/xml/entity_decl.rb is in ruby-nokogiri 1.6.7.2-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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
|