summaryrefslogtreecommitdiffabout
path: root/lib/Config/HAProxy/Node/Comment.pm
authorSergey Poznyakoff <gray@gnu.org>2018-07-08 19:16:49 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2018-07-08 19:16:49 (GMT)
commit69ff9c1766ed89edf0ffdb63bf487396b6bd081b (patch) (side-by-side diff)
treeef644a810f50d81d3b4e47d7cdbf64df976d8be6 /lib/Config/HAProxy/Node/Comment.pm
parent32b6c6394dc6a789826bd51575d9703bb4097f70 (diff)
downloadconfig-haproxy-69ff9c1766ed89edf0ffdb63bf487396b6bd081b.tar.gz
config-haproxy-69ff9c1766ed89edf0ffdb63bf487396b6bd081b.tar.bz2
Add documentationv1.00
Diffstat (limited to 'lib/Config/HAProxy/Node/Comment.pm') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/Config/HAProxy/Node/Comment.pm31
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
@@ -1,6 +1,37 @@
package Config::HAProxy::Node::Comment;
use parent 'Config::HAProxy::Node';
+=head1 NAME
+
+Config::HAProxy::Node::Comment - comment node in HAProxy configuration
+
+=head1 DESCRIPTION
+
+Objects of this class represent comments in HAProxy configuration file.
+
+=head1 METHODS
+
+=head2 is_comment
+
+Returns 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_comment { 1 }
1;
+
+

Return to:

Send suggestions and report system problems to the System administrator.