X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FRaw.pm;h=159492d0f87cddb7378f2f34ad72267abe3d8a5d;hp=46d8da165906ce1c86840677c679941537e3587b;hb=db715bd14c8e47b08312be055aaf6a174c02882a;hpb=af7d6a5aef3bf5fec0c187b3a13a14adc88251fd diff --git a/lib/LaTeX/TikZ/Set/Raw.pm b/lib/LaTeX/TikZ/Set/Raw.pm index 46d8da1..159492d 100644 --- a/lib/LaTeX/TikZ/Set/Raw.pm +++ b/lib/LaTeX/TikZ/Set/Raw.pm @@ -9,25 +9,45 @@ LaTeX::TikZ::Set::Raw - A literal chunk of TikZ code. =head1 VERSION -Version 0.01 +Version 0.02 =cut -our $VERSION = '0.01'; +our $VERSION = '0.02'; use LaTeX::TikZ::Interface; use LaTeX::TikZ::Functor; use Any::Moose; +=head1 RELATIONSHIPS + +This class consumes the L role, and as such implements the L method. + +=cut + with 'LaTeX::TikZ::Set::Op'; +=head1 ATTRIBUTES + +=head2 C + +The bare string the raw set is made of. + +=cut + has 'content' => ( is => 'ro', isa => 'Str', required => 1, ); +=head1 METHODS + +=head2 C + +=cut + sub path { $_[0]->content } LaTeX::TikZ::Interface->register( @@ -47,6 +67,10 @@ LaTeX::TikZ::Functor->default_rule( __PACKAGE__->meta->make_immutable; +=head1 SEE ALSO + +L, L. + =head1 AUTHOR Vincent Pit, C<< >>, L.