use Moose::Meta::Attribute;
use Moose::Util::TypeConstraints ();
-our $VERSION = '0.99';
-$VERSION = eval $VERSION;
-our $AUTHORITY = 'cpan:STEVAN';
-
__PACKAGE__->meta->add_attribute('type_coercion_map' => (
reader => 'type_coercion_map',
- default => sub { [] }
+ default => sub { [] },
+ Class::MOP::_definition_context(),
));
__PACKAGE__->meta->add_attribute(
Moose::Meta::Attribute->new('type_constraint' => (
reader => 'type_constraint',
- weak_ref => 1
+ weak_ref => 1,
+ Class::MOP::_definition_context(),
))
);
# private accessor
__PACKAGE__->meta->add_attribute('compiled_type_coercion' => (
- accessor => '_compiled_type_coercion'
+ accessor => '_compiled_type_coercion',
+ Class::MOP::_definition_context(),
));
sub new {
1;
+# ABSTRACT: The Moose Type Coercion metaclass
+
__END__
=pod
-=head1 NAME
-
-Moose::Meta::TypeCoercion - The Moose Type Coercion metaclass
-
=head1 DESCRIPTION
A type coercion object is basically a mapping of one or more type
See L<Moose/BUGS> for details on reporting bugs.
-=head1 AUTHOR
-
-Stevan Little E<lt>stevan@iinteractive.comE<gt>
-
-=head1 COPYRIGHT AND LICENSE
-
-Copyright 2006-2010 by Infinity Interactive, Inc.
-
-L<http://www.iinteractive.com>
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
=cut