logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Graphics::Color::Equal - Moose equality role

Author

       Cory G Watson <gphat@cpan.org>

Description

       Graphics::Color::Equal is a Moose role for equality.

Methods

equal_to
       Implement this.

   not_equal_to
       Provided you implement "equal_to", this will be implemented for you!

Name

       Graphics::Color::Equal - Moose equality role

Synopsis

         package Graphics::Color::Foo;
         use Moose;

         with 'Graphics::Color::Equal';

         sub equal_to {
             my ($self, $other) = @_;

             # compare and return!
         }

Version

       version 0.31

See Also