use strict;
use Mouse;
sub type { 'ipv4_cidr' }
has '+value' => (
isa => 'Cikl::DataTypes::Ipv4Cidr'
);
sub normalize_value {
my $class = shift;
my $value = shift;
return $value unless ($value && ref($value) eq '');
$value =~ s/^\s+//;
$value =~ s/\s+$//;
return $value;
}
__PACKAGE__->meta->make_immutable;
1;