YR/Model/Pressure.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« YR/Model/Precipitation.pm ↑ Summary YR/Model/Probability.pm »
1 package Weather::YR::Model::Pressure;
2 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 extends 'Weather::YR::Model';
6  
7 =head1 NAME
8  
9 Weather::YR::Model::Pressure
10  
11 =head1 DESCRIPTION
12  
13 This class represents a data point's (air) "pressure".
14  
15 =head1 METHODS
16  
17 This class inherits all the methods from L<Weather::YR::Model> and provides the
18 following new methods:
19  
20 =head2 hPa
21  
22 Returns the current data point's (air) pressure in hPa (hectopascal).
23  
24 =cut
25  
26 3 has 'hPa' => (
27 isa => 'Num',
28 is => 'ro',
29 required => 1,
30 );
31  
32 #
33 # The End
34 #
35 3 __PACKAGE__->meta->make_immutable;
36  
37 3 1;
« YR/Model/Precipitation.pm ↑ Summary YR/Model/Probability.pm »