]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Mod/Width.pm
Rename LT::Mod->cover to ->covers
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Mod / Width.pm
index 58a8804faced24824db0f39df6f2c9451f6cc178..b6086e30ff39c3767dc8919b6d7901ed224101b1 100644 (file)
@@ -23,7 +23,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
 
@@ -49,11 +49,11 @@ has 'width' => (
 
 sub tag { ref $_[0] }
 
-=head2 C<cover>
+=head2 C<covers>
 
 =cut
 
-sub cover { LaTeX::TikZ::Tools::numeq($_[0]->width, $_[1]->width) }
+sub covers { LaTeX::TikZ::Tools::numeq($_[0]->width, $_[1]->width) }
 
 =head2 C<declare>