Class: Raggle::HTML::TagSet

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

new() {|self if block_given?| ...}

TagSet constructor.

### Public Instance methods

[](name)

Get a tag by name.

define_tag(*names) {|tag_spec = Tag.new| ...}

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

defined?(name)

Is the given tag defined?

Example:

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

[Validate]