class documentation

class CoerceParameter: (source)

Constructor: CoerceParameter(options, coerce)

View In Hierarchy

Utility class that can corce a parameter before storing it.

Method __init__ No summary
Method dispatch When called in dispatch, do the coerce for value and save the returned value.
Instance Variable coerce Undocumented
Instance Variable doc Undocumented
Instance Variable options Undocumented
def __init__(self, options, coerce): (source)
Parameters
optionsparent Options object
coercecallable used to coerce the value.
def dispatch(self, parameterName, value): (source)

When called in dispatch, do the coerce for value and save the returned value.

Undocumented

Undocumented

Undocumented