@classmethod
def get_method(cls, name):
    """Return valid :attr:`module` method.

        Args:
            name (str): Name of pydash method to get.

        Returns:
            function: :attr:`module` callable.

        Raises:
            InvalidMethod: Raised if `name` is not a valid :attr:`module`
                method.
        """
    if name in ('__wrapped__',):
        return cls
    method = None
    _all = getattr(cls.module.core, '__all__', None)
    _all_count = 0
    while method is None and _all_count < len(_all):
        _sub = getattr(cls.module.core, _all[_all_count], None)
        method = getattr(_sub, name, None)
        _all_count += 1
    if not callable(method):
        raise Exception('Invalid btl method: {0}'.format(name))
    return method
