summaryrefslogtreecommitdiffabout
path: root/lib/Config/HAProxy/Node/Empty.pm
blob: 19ce5da2c2b0c040463b7eac7f91fdd0f0b7561b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
package Config::HAProxy::Node::Empty;
use parent 'Config::HAProxy::Node';

=head1 NAME

Config::HAProxy::Node::Empty - empty HAProxy configuration node

=head1 DESCRIPTION

Objects of this class represent empty lines in HAProxy configuration file.

=head1 METHODS

=head2 is_empty

Always true.

=head2 orig

Returns original line as it appeared in the configuration file.

=head2 locus

Returns the location of this statement in the configuration file (the
B<Text::Locus> object).

=head1 SEE ALSO

B<Config::HAProxy::Node>, B<Text::Locus>.

=cut

sub is_empty { 1 }

1;

Return to:

Send suggestions and report system problems to the System administrator.