Class: HTMLTag

Class | HTMLTag
In: | lib/yadis/htmltokenizer.rb
Parent: | HTMLToken

Class representing an HTML tag

### Methods

attr_hash new text

### Attributes

end_tag | [R] |
tag_name | [R] |

### Public Class methods

new(text)

### Public Instance methods

attr_hash()

Retrieve a hash of all the tag‘s attributes. Lazily done, so that if you don‘t look at a tag‘s attributes things go quicker

text()

Get the ‘alt’ text for a tag, if it exists, or an empty string otherwise

[Validate]