@@ -142,7+142,13 @@ my $target_tc = __PACKAGE__->meta->find_attribute_by_name('target')
=head1 METHODS
=head1 METHODS
-=head2 C<< new name => $name, mapper => $mapper, target => $target >>
+=head2 C<new>
+
+ my $tc = LaTeX::TikZ::Meta::TypeConstraint::Autocoerce->new(
+ name => $name,
+ mapper => $mapper,
+ target => $target,
+ );
Constructs a type constraint object that will attempt to autocoerce objects that are not valid according to C<$target> by loading the class returned by C<$mapper>.
Constructs a type constraint object that will attempt to autocoerce objects that are not valid according to C<$target> by loading the class returned by C<$mapper>.