XRandR/PropertyEDID.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« XRandR/Property.pm ↑ Summary XRandR/Screen.pm »
1 package X11::XRandR::PropertyEDID;
2  
3 # ABSTRACT: An EDID Property
4  
5 1 ▶use Types::Standard qw[ ArrayRef InstanceOf Str ];
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use MooX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 our $VERSION = '0.01';
12  
13 1 extends 'X11::XRandR::Property';
14  
15 1 ▶use overload '""' => \&to_string;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 #pod =attr name
18 #pod
19 #pod =cut
20  
21 1 has name => (
22 is => 'ro',
23 isa => Str,
24 init_arg => undef,
25 default => 'EDID',
26 );
27  
28 #pod =attr value
29 #pod
30 #pod An arrayref of EDID values
31 #pod
32 #pod =cut
33  
34 1 has value => (
35 is => 'ro',
36 isa => ArrayRef [Str],
37 required => 1,
38 );
39  
40 #pod =method to_string
41 #pod
42 #pod Return a string rendition of the object just as B<xrandr> would.
43 #pod
44 #pod =cut
45  
46 1 1;
47  
48 #
49 # This file is part of X11-XRandR
50 #
51 # This software is Copyright (c) 2018 by Diab Jerius.
52 #
53 # This is free software, licensed under:
54 #
55 # The GNU General Public License, Version 3, June 2007
56 #
57  
58 __END__
« XRandR/Property.pm ↑ Summary XRandR/Screen.pm »