def __init__(self, prototype=None):
self.method_map = dict()<EOL>if prototype is not None:<EOL><INDENT>self.build_method_map(prototype)<EOL><DEDENT>
Build method dispatcher.

        Parameters
        ----------
        prototype : object or dict, optional
            Initial method mapping.

        Examples
        --------

        Init object with method dictionary.

        >>> Dispatcher({"sum": lambda a, b: a + b})
        None