class HTML::Tag

def [](attr)

the node has no attributes.
A convenience for obtaining an attribute of the node. Returns +nil+ if
def [](attr)
  @attributes ? @attributes[attr] : nil
end