`Wrap` --- Creating an object around the checker
=====================================================

.. py:currentmodule:: xcheck

Wrap
----

The Wrap object is not derived from XCheck, but wraps a regular Python object
around an Element object.

.. autoclass:: Wrap
  :members:
  :undoc-members:
  :private-members:

The :class:`Wrap` class is more useful when subclassed.

.. literalinclude:: /../examples/rolodex.py