=head1 METHODS
-=head2 C<< new rules => [ $spec1 => $handler1, $spec2 => $handler2, ... ] >>
+=head2 C<new>
+
+ my $functor = LaTeX::TikZ::Functor->new(
+ rules => [ $spec1 => $handler1, $spec2 => $handler2, ... ],
+ );
Creates a new functor object that will use both the default and the user-specified rules.
The functor is also a code reference that expects to be called against L<LaTeX::TikZ::Set> objects.
},
);
-=head2 C<< default_rule $spec => $handler >>
+=head2 C<default_rule>
+
+ LaTeX::TikZ::Functor->default_rule($spec => $handler)
Adds to all subsequently created functors a default rule for the class or role C<$spec>.