Class: ClassMutator

DSL-style syntax

A ClassMutator object represents a DSL term.

Constructor

__init__ (self, handler)

Create a new ClassMutator, using the handler callable to process it when the time will come.

Methods

process (self, entity, *args, **kwargs)

Process one mutator. This version simply calls the handler callable, but another mutator (sub)class could do more processing.