UNPKG

ember-legacy-class-transform

Version:
20 lines (15 loc) 437 B
'use strict'; var Launcher = require('./launcher'); var extend = require('lodash.assignin'); function LauncherFactory(name, settings, config) { this.name = name; this.config = config; this.settings = settings; } LauncherFactory.prototype = { create: function(options) { var settings = extend({}, this.settings, options); return new Launcher(this.name, settings, this.config); } }; module.exports = LauncherFactory;