code: function(options) {
  	options = options || {};
  	var optionsArray = [];
  
  	// Go through the available options,
  	// set either the passed option
  	// or the default
  	for (var i in apt.options) {
  		if (typeof options[i] !== 'undefined') {
  			addOption(optionsArray, i, options[i]);
  		} else {
  			addOption(optionsArray, i, apt.options[i]);
  		}
  	}
  
  	return optionsArray;
  }
docs: Parses the options adding them to an options array which is returned