summaryrefslogtreecommitdiff
path: root/lib/Config/HAProxy/Node/Empty.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Config/HAProxy/Node/Empty.pm')
-rw-r--r--lib/Config/HAProxy/Node/Empty.pm29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/Config/HAProxy/Node/Empty.pm b/lib/Config/HAProxy/Node/Empty.pm
index bee0f2e..19ce5da 100644
--- a/lib/Config/HAProxy/Node/Empty.pm
+++ b/lib/Config/HAProxy/Node/Empty.pm
@@ -1,6 +1,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.