Permalink
Browse files

Synopsis?

  • Loading branch information...
Cory Watson Cory Watson
Cory Watson authored and Cory Watson committed Mar 27, 2011
1 parent cbb0fa4 commit 3cfead8fba45c215df7d8b677ffb31e4f5baa599
Showing with 28 additions and 28 deletions.
  1. +14 −14 README.mkdn
  2. +14 −14 lib/MooseX/Role/Data/Verifier.pm
View
@@ -8,31 +8,31 @@ version 0.01
# SYNOPSIS
package TestClass;
use Moose;
package TestClass;
use Moose;
with 'MooseX::Role::Data::Verifier';
with 'MooseX::Role::Data::Verifier';
has 'name' => (
is => 'rw',
isa => 'Str',
required => 1
);
has 'name' => (
is => 'rw',
isa => 'Str',
required => 1
);
# ... elsewhere
# ... elsewhere
my $tc = TestClass->new;
my $tc = TestClass->new;
my $dv = Data::Verifier->new(
profile => $tc->get_verifier_profile
);
my $dv = Data::Verifier->new(
profile => $tc->get_verifier_profile
);
$dv->verify(...); # Verify!
$dv->verify(...); # Verify!
# DESCRIPTION
@@ -8,26 +8,26 @@ use Moose::Role;
=head1 SYNOPSIS
package TestClass;
use Moose;
package TestClass;
use Moose;
with 'MooseX::Role::Data::Verifier';
with 'MooseX::Role::Data::Verifier';
has 'name' => (
is => 'rw',
isa => 'Str',
required => 1
);
has 'name' => (
is => 'rw',
isa => 'Str',
required => 1
);
# ... elsewhere
# ... elsewhere
my $tc = TestClass->new;
my $tc = TestClass->new;
my $dv = Data::Verifier->new(
profile => $tc->get_verifier_profile
);
my $dv = Data::Verifier->new(
profile => $tc->get_verifier_profile
);
$dv->verify(...); # Verify!
$dv->verify(...); # Verify!
=head1 DESCRIPTION

0 comments on commit 3cfead8

Please sign in to comment.