File Coverage

blib/lib/MooseX/Meta/Method/Transactional/Application/ToComposite.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package MooseX::Meta::Method::Transactional::Application::ToComposite;
2 5     5   17173 use Moose::Role;
  5         10  
  5         29  
3              
4             after apply => sub {
5             my ($self, $role_source, $role_dest, $args) = @_;
6              
7             Moose::Util::MetaRole::apply_metaroles
8             (
9             for => $role_dest,
10             role_metaroles =>
11             {
12             application_to_role =>
13             ['MooseX::Meta::Method::Transactional::Application::ToComposite'],
14             application_to_class =>
15             ['MooseX::Meta::Method::Transactional::Application::ToClass'],
16             application_to_instance =>
17             ['MooseX::Meta::Method::Transactional::Application::ToInstance'],
18             }
19             );
20              
21             };
22              
23             1;