Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.47 kb
package MetaCPAN::Document::Dependency;
use strict;
use warnings;
use Moose;
use ElasticSearchX::Model::Document;
use MetaCPAN::Util;
has [qw(phase relationship module version)] => ( is => 'ro', required => 1 );
has version_numified => (
is => 'ro',
required => 1,
isa => 'Num',
lazy_build => 1,
);
sub _build_version_numified {
return MetaCPAN::Util::numify_version( shift->version );
}
__PACKAGE__->meta->make_immutable;
1;
Jump to Line
Something went wrong with that request. Please try again.