code: function(objectOrKey, value) {
  
      if (_.isPlainObject(objectOrKey)) {
  
        _.assign(this.locals, objectOrKey);
  
      } else if (_.isString(objectOrKey) && !_.isUndefined(value)) {
  
        this.locals[objectOrKey] = value;
  
      }
    }
docs: set a variable (or variables) to the locals that will be provided to the
  view.
  @param {Object|String} objectOrKey an object of variable name => value map
  or a string that will be the variable name
  in the view.
  @param {*} value       the value to store as the named variable [optional]