]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Mod/Color.pm
Rename LT::Mod->cover to ->covers
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Mod / Color.pm
index 48e67db4688024c75406ce312392ef578a29d1b7..73676b84697477bbcb34b3bc6f32d55cf8ff28a6 100644 (file)
@@ -21,7 +21,7 @@ use Any::Moose;
 
 =head1 RELATIONSHIPS
 
-This class consumes the L<LaTeX::TikZ::Mod> role, and as such implements the L</tag>, L</cover>, L</declare> and L</apply> methods.
+This class consumes the L<LaTeX::TikZ::Mod> role, and as such implements the L</tag>, L</covers>, L</declare> and L</apply> methods.
 
 =cut
 
@@ -47,11 +47,11 @@ has 'color' => (
 
 sub tag { ref $_[0] }
 
-=head2 C<cover>
+=head2 C<covers>
 
 =cut
 
-sub cover { $_[0]->color eq $_[1]->color }
+sub covers { $_[0]->color eq $_[1]->color }
 
 =head2 C<declare>