
Text::Decorator::Group - A (possibly nested) group of nodes

my $group = $self->new(@nodes);
$self->format_as('html');
$self->nodes

A Group is a set of nodes that live together for some semantic reason - paragraphs in a document, sentences in a paragraph, or whatever.

$self->new(@nodes);
Creates a new Text::Decorator::Group instance.
@nodes = $self->nodes;
Returns the nodes which make up this group.
$self->format_as("html")
Descend into the group, formatting each node, stringing the pieces together and returning the result, optionally adding some pre- and post- representation-specific material.