lib/views.js
function (key, val) {
    if (lazy.typeOf(val) !== 'object') {
      lazy.set(this, key, val);
      return this;
    }
    this.addView(key, val);
    return this;
  }
function (key, val) {
    if (lazy.typeOf(val) !== 'object') {
      lazy.set(this, key, val);
      return this;
    }
    this.addView(key, val);
    return this;
  }
function ( key , val ) { if ( lazy . typeOf ( val ) !== 'object' ) { lazy . set ( this , key , val ) ; return this ; } this . addView ( key , val ) ; return this ; }
Set a value on the collection instance.

@param {String} `key`
@param {Object} `val` The view object
@param {Object} Returns the instance of `Views` for chaining.
@api public
Set a value on the collection instance .