| 1 | package JIP::Mock::Event; | ||
| 2 | |||
| 3 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 3 | ▶ | use English qw(-no_match_vars); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | our $VERSION = 'v0.0.4'; | |
| 9 | |||
| 10 | 31 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 11 | 31 | my ( $class, %param ) = @ARG; | |
| 12 | |||
| 13 | return bless( | ||
| 14 | { | ||
| 15 | method => $param{method}, | ||
| 16 | arguments => $param{arguments}, | ||
| 17 | want_array => $param{want_array}, | ||
| 18 | times => $param{times}, | ||
| 19 | }, | ||
| 20 | 31 | $class, | |
| 21 | ); | ||
| 22 | } | ||
| 23 | |||
| 24 | 13 | ▶ | sub method { |
|
Subroutine
method: called CC=1 SCAR=0.0
Pod
documented
| |||
| 25 | 13 | my ($self) = @ARG; | |
| 26 | |||
| 27 | 13 | return $self->{method}; | |
| 28 | } | ||
| 29 | |||
| 30 | 13 | ▶ | sub arguments { |
|
Subroutine
arguments: called CC=1 SCAR=0.0
Pod
documented
| |||
| 31 | 13 | my ($self) = @ARG; | |
| 32 | |||
| 33 | 13 | return $self->{arguments}; | |
| 34 | } | ||
| 35 | |||
| 36 | 7 | ▶ | sub want_array { |
|
Subroutine
want_array: called CC=1 SCAR=0.0
Pod
documented
| |||
| 37 | 7 | my ($self) = @ARG; | |
| 38 | |||
| 39 | 7 | return $self->{want_array}; | |
| 40 | } | ||
| 41 | |||
| 42 | 8 | ▶ | sub times { ## no critic (Subroutines::ProhibitBuiltinHomonyms) |
|
Subroutine
times: called CC=1 SCAR=0.0
Pod
documented
| |||
| 43 | 8 | my ($self) = @ARG; | |
| 44 | |||
| 45 | 8 | return $self->{times}; | |
| 46 | } | ||
| 47 | |||
| 48 | 3 | 1; | |
| 49 | |||
| 50 | __END__ | ||