Sha256: fc84e8083608429a89167770d9560d0fbacd303be2414f5c6155ad5ba7af62d7

Contents?: true

Size: 292 Bytes

Versions: 472

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Nokogiri
  module HTML4
    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

Version data entries

472 entries across 469 versions & 12 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/nokogiri-1.17.2-x86_64-darwin/lib/nokogiri/html4/entity_lookup.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/nokogiri-1.16.7-x86_64-darwin/lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-x86_64-linux-musl lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-x86_64-linux-gnu lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-x86_64-darwin lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-x64-mingw-ucrt lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-java lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2 lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-arm-linux-musl lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-arm-linux-gnu lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-arm64-darwin lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-aarch64-linux-musl lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.2-aarch64-linux-gnu lib/nokogiri/html4/entity_lookup.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/nokogiri-1.16.6-x86_64-linux/lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1-x86_64-linux-musl lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1-x86_64-linux-gnu lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1-x86_64-darwin lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1-x64-mingw-ucrt lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1-java lib/nokogiri/html4/entity_lookup.rb
nokogiri-1.18.1 lib/nokogiri/html4/entity_lookup.rb