=head1 VERSION
-Version 0.01
+Version 0.02
=cut
-our $VERSION = '0.01';
+our $VERSION = '0.02';
use Any::Moose;
-use Any::Moose 'Util::TypeConstraints';
+use Any::Moose 'Util::TypeConstraints' => [
+ 'enum',
+ qw<coerce from via>,
+];
=head1 ATTRIBUTES
has 'type' => (
is => 'ro',
- isa => enum([ qw/clip layer raw/ ]),
+ isa => enum([ qw<clip layer raw> ]),
required => 1,
);