Sha256: 70df56bc3f46b582f104cf40ae78186a5e3604cc59cd355125d1887e46785bf7

Contents?: true

Size: 214 Bytes

Versions: 6

Compression:

Stored size: 214 Bytes

Contents

module Nokogiri
  module HTML
    class EntityDescription < Struct.new(:value, :name, :description); end

    class EntityLookup
      def [] name
        (val = get(name)) && val.value
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
nokogiri-1.2.2 lib/nokogiri/html/entity_lookup.rb
nokogiri-1.2.2-java lib/nokogiri/html/entity_lookup.rb
nokogiri-1.2.2-x86-mswin32-60 lib/nokogiri/html/entity_lookup.rb
nokogiri-1.2.3 lib/nokogiri/html/entity_lookup.rb
nokogiri-1.2.3-java lib/nokogiri/html/entity_lookup.rb
nokogiri-1.2.3-x86-mswin32-60 lib/nokogiri/html/entity_lookup.rb