def get(self, name, default=None):
        """
        Returns the value of the given variable, or the given default
        value if the variable is not defined.

        :type  name: string
        :param name: The name of the variable.
        :type  default: object
        :param default: The default value.
        :rtype:  object
        :return: The value of the variable.
        """
        if self.vars is None:
            return default
        return self.vars.get(name, default)
Returns the value of the given variable, or the given default
        value if the variable is not defined.

        :type  name: string
        :param name: The name of the variable.
        :type  default: object
        :param default: The default value.
        :rtype:  object
        :return: The value of the variable.