Perl::Critic::PolicyParameter::Behavior::Boolean - Actions appropriate for a boolean parameter.


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.

Index


NAME

Top

Perl::Critic::PolicyParameter::Behavior::Boolean - Actions appropriate for a boolean parameter.

DESCRIPTION

Top

Provides a standard set of functionality for a boolean Perl::Critic::PolicyParameter so that the developer of a policy does not have to provide it her/himself.

NOTE: Do not instantiate this class. Use the singleton instance held onto by Perl::Critic::PolicyParameter.

INTERFACE SUPPORT

Top

This is considered to be a non-public class. Its interface is subject to change without notice.

METHODS

Top

initialize_parameter( $parameter, $specification )

Plug in the functionality this behavior provides into the parameter. At present, this behavior isn't customizable by the specification.

AUTHOR

Top

Elliot Shank <perl@galumph.com>

COPYRIGHT

Top


Perl-Critic documentation  | view source Contained in the Perl-Critic distribution.