| 1 | package Gideon::Meta::Attribute::Trait::Inflate; | ||
| 2 | { | ||
| 3 | 1 | $Gideon::Meta::Attribute::Trait::Inflate::VERSION = '0.0.3'; | |
| 4 | } | ||
| 5 | 1 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | #ABSTRACT: Inflated attribute | ||
| 8 | |||
| 9 | 1 | with 'Gideon::Meta::Attribute::Trait::Inflated'; | |
| 10 | |||
| 11 | 1 | Moose::Util::meta_attribute_alias('Gideon::Inflate'); | |
| 12 | |||
| 13 | 1 | has inflator => ( is => 'ro', isa => 'CodeRef' ); | |
| 14 | 1 | has deflator => ( is => 'ro', isa => 'CodeRef' ); | |
| 15 | |||
| 16 | 0 | ▶ | sub get_inflator { |
|
Subroutine
get_inflator: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 17 | 0 | my $self = shift; | |
| 18 | 0 | $self->inflator; | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub get_deflator { |
|
Subroutine
get_deflator: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 22 | 0 | my $self = shift; | |
| 23 | 0 | $self->deflator; | |
| 24 | } | ||
| 25 | |||
| 26 | 1 | 1; | |
| 27 | |||
| 28 | __END__ | ||