
Specio::Constraint::Role::Interface - The interface all type constraints should provide

version 0.08

This role defines the interface that all type constraints must provide, and provides most (or all) of the implementation. The Specio::Constraint::Simple class simply consumes this role and provides no additional code. Other constraint classes add features or override some of this role's functionality.

See the Specio::Constraint::Simple documentation for details. See the internals of various constraint classes to see how this role can be overridden or expanded upon.

This role does the Specio::Role::Inlinable and MooseX::Clone roles.

Dave Rolsky <autarch@urth.org>

This software is Copyright (c) 2013 by Dave Rolsky.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)