]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Mod/Formatted.pm
Silence a warnings with Moose 1.09
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Mod / Formatted.pm
index 5bda2470b4132fdd4c9851c9374ac3ab02767022..48b62f8436325641cd0b54b76bd9ee7e2c1b69d9 100644 (file)
@@ -16,7 +16,16 @@ Version 0.01
 our $VERSION = '0.01';
 
 use Any::Moose;
-use Any::Moose 'Util::TypeConstraints';
+use Any::Moose 'Util::TypeConstraints' => [
+ 'enum',
+ qw(coerce from via),
+];
+
+=head1 ATTRIBUTES
+
+=head2 C<type>
+
+=cut
 
 has 'type' => (
  is       => 'ro',
@@ -24,6 +33,10 @@ has 'type' => (
  required => 1,
 );
 
+=head2 C<content>
+
+=cut
+
 has 'content' => (
  is       => 'ro',
  isa      => 'Str',
@@ -34,6 +47,12 @@ coerce 'LaTeX::TikZ::Mod::Formatted'
     => from 'Str'
     => via { LaTeX::TikZ::Mod::Formatted->new(type => 'raw', content => $_) };
 
+=head1 METHODS
+
+=head2 C<tag>
+
+=cut
+
 sub tag {
  my ($self) = @_;
 
@@ -42,6 +61,10 @@ sub tag {
 
 __PACKAGE__->meta->make_immutable;
 
+=head1 SEE ALSO
+
+L<LaTeX::TikZ>.
+
 =head1 AUTHOR
 
 Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.