File: | blib/lib/CSS/AtRule.pm |
Coverage: | 100.0% |
line | stmt | bran | cond | sub | time | code |
---|---|---|---|---|---|---|
1 | package CSS::AtRule; | |||||
2 | ||||||
3 | 6 6 6 | 24 12 27 | use strict; | |||
4 | 6 6 6 | 33 10 29 | use warnings; | |||
5 | ||||||
6 | sub new { | |||||
7 | 5 | 20 | my ($class, $name, $value) = @_; | |||
8 | 5 | 19 | my $self = bless {}, $class; | |||
9 | ||||||
10 | 5 | 17 | $self->{name} = $name; | |||
11 | 5 | 13 | $self->{value} = $value; | |||
12 | ||||||
13 | 5 | 29 | return $self; | |||
14 | } | |||||
15 | ||||||
16 | 1; | |||||
17 |