« lib/Reaction/InterfaceModel/Action/Search/UpdateSpec.pm
↑ Summary
lib/Catalyst/Model/Reaction/InterfaceModel/DBIC.pm »
| 1 | package Reaction::UI::ViewPort::Action::Role::OK; | ||||||||||
| 2 | |||||||||||
| 3 | 4 | ▶ | use Reaction::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 4 | ▶ | use MooseX::Types::Moose qw/Str/; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 4 | with 'Reaction::UI::ViewPort::Action::Role::Close'; | |||||||||
| 6 | |||||||||||
| 7 | 4 | has ok_label => (is => 'rw', isa => Str, lazy_build => 1); | |||||||||
| 8 | |||||||||||
| 9 | 3 | ▶ | sub _build_ok_label { 'ok' } | ||||||||
|
Subroutine
_build_ok_label: called CC=1 SCAR=0.0
| |||||||||||
| 10 | |||||||||||
| 11 | 0 | ▶ | sub ok { | ||||||||
|
Subroutine
ok: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 12 | 0 | my $self = shift; | |||||||||
| 13 | 0 | ▶ | $self->close(@_) if $self->apply(@_); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 11 | ▶ | around accept_events => sub { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.1
| |||||||||||
| 17 | 11 | my $orig = shift; | |||||||||
| 18 | 11 | my $self = shift; | |||||||||
| 19 | 11 | ▶ | ( ($self->has_on_close_callback ? ('ok') : ()), $self->$orig(@_) ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 20 | 4 | }; | |||||||||
| 21 | |||||||||||
| 22 | 4 | 1; | |||||||||
| 23 | |||||||||||
| 24 | __END__ | ||||||||||