File Coverage

blib/lib/DDG/Block/Blockable.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package DDG::Block::Blockable;
2             our $AUTHORITY = 'cpan:DDG';
3             # ABSTRACT: Role for plugins that can go into a block
4             $DDG::Block::Blockable::VERSION = '1018';
5 11     11   6076 use Moo::Role;
  11         36  
  11         152  
6              
7             requires qw(
8             get_triggers
9             has_triggers
10             triggers_block_type
11             triggers
12             );
13              
14              
15             has block => (
16             is => 'ro',
17             required => 1,
18             );
19              
20             1;
21              
22             __END__