| 1 | 1 | ▶ | use 5.008; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package Class::Scaffold::YAML::Active::Exception; | ||
| 6 | 1 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | $Class::Scaffold::YAML::Active::Exception::VERSION = '1.102280'; | |
| 8 | } | ||
| 9 | # ABSTRACT: Plugin for recording an exception for a test | ||
| 10 | 1 | ▶ | use YAML::Active qw/assert_hashref hash_activate/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | 1 | ▶ | use parent 'Class::Scaffold::YAML::Active'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 0 | ▶ | sub yaml_activate { |
|
Subroutine
yaml_activate: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 14 | 0 | my ($self, $phase) = @_; | |
| 15 | 0 | assert_hashref($self); | |
| 16 | 0 | my $hash = hash_activate($self, $phase); | |
| 17 | { | ||
| 18 | ref => $hash->{type}, | ||
| 19 | 0 | message => $hash->{type}->record(%{ $hash->{attr} }), | |
| 20 | }; | ||
| 21 | } | ||
| 22 | 1 | 1; | |
| 23 | |||
| 24 | |||
| 25 | __END__ | ||