123456789_123456789_123456789_123456789_123456789_

Class: Nokogiri::HTML4::EntityLookup

Instance Method Summary

Instance Method Details

#[](name)

Look up entity with name

[ GitHub ]

  
# File 'lib/nokogiri/html4/entity_lookup.rb', line 10

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

#get(attribute)

Alias for XML::Node#get.