line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Weather::YR::Model::Fog; |
2
|
3
|
|
|
3
|
|
24
|
use Moose; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
26
|
|
3
|
3
|
|
|
3
|
|
14383
|
use namespace::autoclean; |
|
3
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
24
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Weather::YR::Model'; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
Weather::YR::Model::Fog |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 DESCRIPTION |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
This class represents a data point's "fog". |
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 percent |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Returns the current data point's fog percentage. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
has 'percent' => ( |
27
|
|
|
|
|
|
|
isa => 'Maybe[Num]', |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
required => 1, |
30
|
|
|
|
|
|
|
); |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# |
33
|
|
|
|
|
|
|
# The End |
34
|
|
|
|
|
|
|
# |
35
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
1; |