Class Raggle::HTML::TagSet
In: raggle  (CVS)
Parent: Object

Tag set defines all tags that the renderer can handle.

Each tag can modify the context by defining +:context+ key (see pre).

Tag’s can also have actions which will be executed sequentially when the tag occurs in the token stream. Actions must be defined to occurences of start tags and end tags separately.

Methods

[]   define_tag   defined?   new  

Classes and Modules

Class Raggle::HTML::TagSet::Tag

Public Class methods

Public Instance methods

Get a tag by name.

TODO: Raggle::HTML::TagSet::define_tag placeholder

Is the given tag defined?

Example:

  tag_set.defined?('p') #=> true

[Validate]