Verify that the specified ruby is not installed with rbenv. Rbenv
    is installed if necessary.

    name
        The version of ruby to uninstall

    user: None
        The user to run rbenv as.

        .. versionadded:: 0.17.0

    .. versionadded:: 0.16.0

def absent(name, user=None):
    '''
    Verify that the specified ruby is not installed with rbenv. Rbenv
    is installed if necessary.

    name
        The version of ruby to uninstall

    user: None
        The user to run rbenv as.

        .. versionadded:: 0.17.0

    .. versionadded:: 0.16.0
    '''
    ret = {'name': name, 'result': None, 'comment': '', 'changes': {}}

    if name.startswith('ruby-'):
        name = re.sub(r'^ruby-', '', name)

    ret = _check_rbenv(ret, user)
    if ret['result'] is False:
        ret['result'] = True
        ret['comment'] = 'Rbenv not installed, {0} not either'.format(name)
        return ret
    else:
        if __opts__['test']:
            ret = _ruby_installed(ret, name, user=user)
            if ret['result']:
                ret['result'] = None
                ret['comment'] = 'Ruby {0} is set to be uninstalled'.format(name)
            else:
                ret['result'] = True
                ret['comment'] = 'Ruby {0} is already uninstalled'.format(name)
            return ret

        return _check_and_uninstall_ruby(ret, name, user=user)