NAME

Git::Database::Actor - An actor in Git::Database

VERSION

version 0.012

SYNOPSIS

use Git::Database::Actor;

my $actor = Git::Database::Actor->new(
    name  => 'Philippe Bruhat (BooK)',
    email => 'book@cpan.org'
);

print $actor->ident;    # Philippe Bruhat (BooK) <book@cpan.org>

DESCRIPTION

Git::Database::Actor represents a user in Git::Database, i.e. the combination of a name and an email.

ATTRIBUTES

name

The name of the actor.

email

The email of the actor.

METHODS

ident

The identity of the actor, build as:

Name <email>

AUTHOR

Philippe Bruhat (BooK) <book@cpan.org>.

COPYRIGHT

Copyright 2013-2016 Philippe Bruhat (BooK), all rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.