X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FLaTeX-TikZ.git;a=blobdiff_plain;f=lib%2FLaTeX%2FTikZ%2FSet%2FContainer.pm;fp=lib%2FLaTeX%2FTikZ%2FSet%2FMutable.pm;h=37a56cd42085cc3f30ebeb279a29e135ac052771;hp=e7518cd55f71e8d56ce85558723634ad61ca2be0;hb=1c53f7e28198adfb2905667acd5741f163832d7b;hpb=b8f42942311854cb0ef8a3e34c0145846639cd2e diff --git a/lib/LaTeX/TikZ/Set/Mutable.pm b/lib/LaTeX/TikZ/Set/Container.pm similarity index 70% rename from lib/LaTeX/TikZ/Set/Mutable.pm rename to lib/LaTeX/TikZ/Set/Container.pm index e7518cd..37a56cd 100644 --- a/lib/LaTeX/TikZ/Set/Mutable.pm +++ b/lib/LaTeX/TikZ/Set/Container.pm @@ -1,11 +1,11 @@ -package LaTeX::TikZ::Set::Mutable; +package LaTeX::TikZ::Set::Container; use strict; use warnings; =head1 NAME -LaTeX::TikZ::Set::Mutable - A role for set objects that can be appended to. +LaTeX::TikZ::Set::Container - A role for set objects that are made of subobjects. =head1 VERSION @@ -13,8 +13,20 @@ Version 0.02 =head1 DESCRIPTION -L objects that are mutable consume this role. -This forces them to implement an C method describing how more elements can be added to the set. +L objects that group other objects together consume this role. +This forces them to implement : + +=over 4 + +=item * + +a C method that returns the list of subobjects ; + +=item * + +an C method describing how more elements can be added to the set. + +=back =cut @@ -38,6 +50,7 @@ C requires qw< add + kids >; =head1 SEE ALSO @@ -69,4 +82,4 @@ This program is free software; you can redistribute it and/or modify it under th =cut -1; # End of LaTeX::TikZ::Set::Mutable +1; # End of LaTeX::TikZ::Set::Container