Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
nokogiri / lib / nokogiri / html / entity_lookup.rb
Size: Mime:
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