/usr/lib/ruby/vendor_ruby/nokogiri/html/entity_lookup.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 | module Nokogiri
module HTML
class EntityDescription < Struct.new(:value, :name, :description); end
class EntityLookup
###
# Look up entity with +name+
def [] name
(val = get(name)) && val.value
end
end
end
end
|