use Moose::Meta::Role::Composite;
-our $VERSION = '0.93_03';
-$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
use base 'Moose::Meta::Role::Application';
my $role = $_;
my $aliases = $self->get_method_aliases_for_role($role);
my %excludes = map { $_ => undef } @{ $self->get_exclusions_for_role($role) };
- $excludes{meta} = undef;
(
(map {
exists $excludes{$_} ? () :
name => $_,
method => $role->get_method($_),
}
- } $role->get_method_list),
+ } map { $_->name }
+ grep { !$_->isa('Class::MOP::Method::Meta') }
+ $role->_get_local_methods),
(map {
+{
role => $role,
1;
+# ABSTRACT: Combine two or more roles
+
__END__
=pod
-=head1 NAME
-
-Moose::Meta::Role::Application::RoleSummation - Combine two or more roles
-
=head1 DESCRIPTION
Summation composes two traits, forming the union of non-conflicting
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