diff options
Diffstat (limited to 'lib/Config/HAProxy/Node/Comment.pm')
-rw-r--r-- | lib/Config/HAProxy/Node/Comment.pm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Config/HAProxy/Node/Comment.pm b/lib/Config/HAProxy/Node/Comment.pm index 5d7ef88..17a513b 100644 --- a/lib/Config/HAProxy/Node/Comment.pm +++ b/lib/Config/HAProxy/Node/Comment.pm | |||
@@ -3,2 +3,31 @@ use parent 'Config::HAProxy::Node'; | |||
3 | 3 | ||
4 | =head1 NAME | ||
5 | |||
6 | Config::HAProxy::Node::Comment - comment node in HAProxy configuration | ||
7 | |||
8 | =head1 DESCRIPTION | ||
9 | |||
10 | Objects of this class represent comments in HAProxy configuration file. | ||
11 | |||
12 | =head1 METHODS | ||
13 | |||
14 | =head2 is_comment | ||
15 | |||
16 | Returns true. | ||
17 | |||
18 | =head2 orig | ||
19 | |||
20 | Returns original line as it appeared in the configuration file. | ||
21 | |||
22 | =head2 locus | ||
23 | |||
24 | Returns the location of this statement in the configuration file (the | ||
25 | B<Text::Locus> object). | ||
26 | |||
27 | =head1 SEE ALSO | ||
28 | |||
29 | B<Config::HAProxy::Node>, B<Text::Locus>. | ||
30 | |||
31 | =cut | ||
32 | |||
4 | sub is_comment { 1 } | 33 | sub is_comment { 1 } |
@@ -6 +35,3 @@ sub is_comment { 1 } | |||
6 | 1; | 35 | 1; |
36 | |||
37 | |||