From 69ff9c1766ed89edf0ffdb63bf487396b6bd081b Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 8 Jul 2018 22:16:49 +0300 Subject: Add documentation --- lib/Config/HAProxy/Node/Comment.pm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'lib/Config/HAProxy/Node/Comment.pm') 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 object). + +=head1 SEE ALSO + +B, B. + +=cut + sub is_comment { 1 } 1; + + -- cgit v1.2.1