Class: Nokogiri::HTML4::EntityLookup
Relationships & Source Files | |
Inherits: | Object |
Defined in: | ext/nokogiri/html4_entity_lookup.c, ext/nokogiri/xml_node.c, lib/nokogiri/html4/entity_lookup.rb |
Instance Method Summary
-
#[](name)
Look up entity with
name
-
#get(attribute)
Alias for XML::Node#get.
Instance Method Details
#[](name)
Look up entity with name
# File 'lib/nokogiri/html4/entity_lookup.rb', line 10
def [](name) (val = get(name)) && val.value end
#get(attribute)
Alias for XML::Node#get.