Class Hpricot::CssProxy
In: lib/hpricot/builder.rb
Parent: BlankSlate

Class used by Markaby::Builder to store element options. Methods called against the CssProxy object are added as element classes or IDs.

See the README for examples.

Methods

Public Class methods

Creates a CssProxy object.

Public Instance methods

Adds attributes to an element. Bang methods set the :id attribute. Other methods add to the :class attribute.

[Validate]