Ruby Tidy API for HTML::Tag

I’m trying to use the scrAPI to scrape a website. It apparently uses
Tidy and using a selector returns an HTML::Tag object. Anyone know
where the API is for an HTML::Tag object? I can’t seem to figure out
how to get the tag name and I’ve been looking for the API but can’t seem
to find it.