Perl::Critic::PolicyListing - Display minimal information about Policies.
Contents
Constructor
"new( -policies => \@POLICY_OBJECTS )"
Returns a reference to a new "Perl::Critic::PolicyListing" object.
Copyright
Copyright (c) 2005-2023 Imaginative Software Systems.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl
itself. The full text of this license can be found in the LICENSE file included with this module.
perl v5.40.0 2024-10-28 Perl::Critic::PolicyListing(3pm)
Description
This is a helper class that formats a set of Policy objects for pretty-printing. There are no user-
serviceable parts here.
Interface Support
This is considered to be a non-public class. Its interface is subject to change without notice.
Methods
to_string()
Returns a string representation of this "PolicyListing". See "OVERLOADS" for more information.
Name
Perl::Critic::PolicyListing - Display minimal information about Policies.
Overloads
When a Perl::Critic::PolicyListing is evaluated in string context, it produces a one-line summary of the
default severity, policy name, and default themes for each Perl::Critic::Policy object that was given to
the constructor of this "PolicyListing".
