code: function(attrs) {
          var ret = {};
          if (this._getAttrs) { // use Attribute imple
              this._getAttrs(attrs);
          } else { // use setters inline
              Y.Array.each(attrs, function(v, n) {
                  ret[v] = this.get(v); 
              }, this);
          }
  
          return ret;
      }
docs: Returns an object containing the values for the requested attributes.
  @method getAttrs
  @param {Array} attrs an array of attributes to get values
  @return {Object} An object with attribute name/value pairs.