Class HTML5::TreeBuilders::Hpricot::Element::AttributeProxy
In: lib/html5/treebuilders/hpricot.rb
Parent: Object

A call to Hpricot::Elem#raw_attributes is built dynamically, so alterations to the returned value (a hash) will be lost.

AttributeProxy works around this by forwarding :[]= calls to the raw_attributes accessor on the element start tag.

Methods

Public Class methods

Public Instance methods

[Validate]