blib/lib/Mason/Test/RootClass/Component.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 Mason::Test::RootClass::Component; | ||||||
2 | $Mason::Test::RootClass::Component::VERSION = '2.23'; | ||||||
3 | 1 | 1 | 554 | use Moose; | |||
1 | 2 | ||||||
1 | 8 | ||||||
4 | extends 'Mason::Component'; | ||||||
5 | |||||||
6 | # This doesn't work - it interrupts the inner() chain. Investigate later. | ||||||
7 | # | ||||||
8 | # before 'render' => sub { | ||||||
9 | # my ($self) = @_; | ||||||
10 | # print STDERR "starting component render - " . $self->cmeta->path . "\n"; | ||||||
11 | # }; | ||||||
12 | |||||||
13 | __PACKAGE__->meta->make_immutable(); | ||||||
14 | |||||||
15 | 1; |