]> git.vpit.fr Git - perl/modules/LaTeX-TikZ.git/blobdiff - lib/LaTeX/TikZ/Mod/Pattern/Lines.pm
Rename LT::Mod->cover to ->covers
[perl/modules/LaTeX-TikZ.git] / lib / LaTeX / TikZ / Mod / Pattern / Lines.pm
index 10a63f49d470aec29bf0a37786e14a0048bf4873..c2272fec642a020d609b9f4dd9dc04aba7983ec8 100644 (file)
@@ -24,7 +24,7 @@ use Any::Moose 'Util::TypeConstraints';
 
 =head1 RELATIONSHIPS
 
-This class inherits the L<LaTeX::TikZ::Mod::Pattern> class and its L</tag>, L</cover>, L<LaTeX::TikZ::Mod::Pattern/declare> and L<LaTeX::TikZ::Mod::Pattern/apply> methods.
+This class inherits the L<LaTeX::TikZ::Mod::Pattern> class and its L</tag>, L</covers>, L<LaTeX::TikZ::Mod::Pattern/declare> and L<LaTeX::TikZ::Mod::Pattern/apply> methods.
 
 =cut
 
@@ -147,11 +147,11 @@ around 'BUILDARGS' => sub {
 
 sub tag { join '/', ref $_[0], $_[0]->direction }
 
-=head2 C<cover>
+=head2 C<covers>
 
 =cut
 
-sub cover {
+sub covers {
  my ($this, $other) = @_;
 
  LaTeX::TikZ::Tools::numeq($this->line_width, $other->line_width) or return 0;