1Specio::Constraint::AnyUIssear(3C)ontributed Perl DocumeSnpteactiioo:n:Constraint::AnyIsa(3)
2
3
4

NAME

6       Specio::Constraint::AnyIsa - A class for constraints which require a
7       class name or an object that inherit from a specific class
8

VERSION

10       version 0.46
11

SYNOPSIS

13           my $type = Specio::Constraint::AnyIsa->new(...);
14           print $type->class;
15

DESCRIPTION

17       This is a specialized type constraint class for types which require a
18       class name or an object that inherit from a specific class.
19

API

21       This class provides all of the same methods as
22       Specio::Constraint::Simple, with a few differences:
23
24   Specio::Constraint::AnyIsa->new( ... )
25       The "parent" parameter is ignored if it passed, as it is always set to
26       the "Defined" type.
27
28       The "inline_generator" and "constraint" parameters are also ignored.
29       This class provides its own default inline generator subroutine
30       reference.
31
32       This class overrides the "message_generator" default if none is
33       provided.
34
35       Finally, this class requires an additional parameter, "class". This
36       must be a single class name.
37
38   $any_isa->class
39       Returns the class name passed to the constructor.
40

ROLES

42       This class does the Specio::Constraint::Role::IsaType,
43       Specio::Constraint::Role::Interface, and Specio::Role::Inlinable roles.
44

SUPPORT

46       Bugs may be submitted at
47       <https://github.com/houseabsolute/Specio/issues>.
48
49       I am also usually active on IRC as 'autarch' on "irc://irc.perl.org".
50

SOURCE

52       The source code repository for Specio can be found at
53       <https://github.com/houseabsolute/Specio>.
54

AUTHOR

56       Dave Rolsky <autarch@urth.org>
57
59       This software is Copyright (c) 2012 - 2020 by Dave Rolsky.
60
61       This is free software, licensed under:
62
63         The Artistic License 2.0 (GPL Compatible)
64
65       The full text of the license can be found in the LICENSE file included
66       with this distribution.
67
68
69
70perl v5.32.0                      2020-07-28     Specio::Constraint::AnyIsa(3)
Impressum