Fey/Role/Comparable.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Fey/Placeholder.pm ↑ Summary Fey/Role/Groupable.pm »
1 package Fey::Role::Comparable;
2  
3 27 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 27 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 27 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 27 our $VERSION = '0.42';
8  
9 27 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 106 ▶sub is_comparable {1}
Subroutine is_comparable: called CC=1 SCAR=0.0
Pod documented
12  
13 27 1;
14  
15 # ABSTRACT: A role for things that can be part of a WHERE clause
16  
17 __END__
18  
19 =pod
20  
21 =head1 NAME
22  
23 Fey::Role::Comparable - A role for things that can be part of a WHERE clause
24  
25 =head1 VERSION
26  
27 version 0.42
28  
29 =head1 SYNOPSIS
30  
31 use Moose 0.90;
32  
33 with 'Fey::Role::Comparable';
34  
35 =head1 DESCRIPTION
36  
37 Classes which do this role represent an object which can be compared
38 to a column in a C<WHERE> clause.
39  
40 =head1 METHODS
41  
42 This role provides the following methods:
43  
44 =head2 $object->is_comparable()
45  
46 Returns true.
47  
48 =head1 BUGS
49  
50 See L<Fey> for details on how to report bugs.
51  
52 =head1 AUTHOR
53  
54 Dave Rolsky <autarch@urth.org>
55  
56 =head1 COPYRIGHT AND LICENSE
57  
58 This software is Copyright (c) 2011 - 2015 by Dave Rolsky.
59  
60 This is free software, licensed under:
61  
62 The Artistic License 2.0 (GPL Compatible)
63  
64 =cut
« Fey/Placeholder.pm ↑ Summary Fey/Role/Groupable.pm »