blib/lib/Hailo/Role/Arguments.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Hailo/Tokenizer/Chars.pm ↑ Summary blib/lib/Hailo/Role/Engine.pm »
1 package Hailo::Role::Arguments;
2 38 our $AUTHORITY = 'cpan:AVAR';
3 38 $Hailo::Role::Arguments::VERSION = '0.74';
4 38 ▶use v5.28.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 38 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 38 ▶use MooseX::Types::Moose ':all';
Subroutine BEGIN: called CC=1 SCAR=0.0
7 38 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 38 has arguments => (
10 isa => HashRef[Str],
11 is => 'ro',
12 documentation => "Arguments passed from Hailo",
13 auto_deref => 1,
14 );
15  
16 38 1;
17  
18 =encoding utf8
19  
20 =head1 NAME
21  
22 Hailo::Role::Arguments - A role which adds an 'arguments' attribute
23  
24 =head1 ATTRIBUTES
25  
26 =head2 C<arguments>
27  
28 A C<HashRef[Str]> of arguments passed to us from L<Hailo|Hailo>'s
29 L<storage|Hailo/storage_args>, or
30 L<tokenizer|Hailo/tokenizer_args> arguments.
31  
32 =head1 AUTHOR
33  
34 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org>
35  
36 =head1 LICENSE AND COPYRIGHT
37  
38 Copyright 2010 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason.
39  
40 This program is free software, you can redistribute it and/or modify
41 it under the same terms as Perl itself.
42  
43 =cut
44  
« blib/lib/Hailo/Tokenizer/Chars.pm ↑ Summary blib/lib/Hailo/Role/Engine.pm »