lib/snippet.js
function (prop, val) {
    if (arguments.length === 1) {
      if (typeof prop === 'string') {
        return utils.get(this.options, prop);
      }
      if (typeof prop === 'object') {
        return this.visit('option', prop);
      }
    }
    utils.set(this.options, prop, val);
    return this;
  }
function (prop, val) {
    if (arguments.length === 1) {
      if (typeof prop === 'string') {
        return utils.get(this.options, prop);
      }
      if (typeof prop === 'object') {
        return this.visit('option', prop);
      }
    }
    utils.set(this.options, prop, val);
    return this;
  }
function ( prop , val ) { if ( arguments . length === 1 ) { if ( typeof prop === 'string' ) { return utils . get ( this . options , prop ) ; } if ( typeof prop === 'object' ) { return this . visit ( 'option' , prop ) ; } } utils . set ( this . options , prop , val ) ; return this ; }
Set or get an option on the snippet. Dot notation may be used.

@name .option
@param  {String} `prop` The property to get.
@api public
Set or get an option on the snippet . Dot notation may be used .