Current File : //home/tradevaly/www/node_modules/collect.js/dist/methods/mapInto.js
'use strict';

module.exports = function mapInto(ClassName) {
  return this.map(function (value, key) {
    return new ClassName(value, key);
  });
};