Part of vmc.contrib.epsilon.modal View In Hierarchy
A descriptor wrapping multiple implementations of a particular method.
When called on an instance, the implementation used will be selected based on an attribute of the instance. There are no unbound ModalMethods at this point.Instance Variables | name | The name of this method. |
methods | A mapping of modes to callable objects. | |
modeAttribute | The name of the attribute on instances which is bound to the instance's current mode. |