lib/grunt-horde/index.js
function GruntHorde(grunt) {
  this.cwd = process.cwd();
  this.config = {
    initConfig: {},
    loadNpmTasks: {},
    loadTasks: {},
    registerMultiTask: {},
    registerTask: {}
  };
  this.frozenConfig = {};
  this.grunt = grunt;
  this.lootBatch = [];
}
function GruntHorde(grunt) {
  this.cwd = process.cwd();
  this.config = {
    initConfig: {},
    loadNpmTasks: {},
    loadTasks: {},
    registerMultiTask: {},
    registerTask: {}
  };
  this.frozenConfig = {};
  this.grunt = grunt;
  this.lootBatch = [];
}
function GruntHorde ( grunt ) { this . cwd = process . cwd ( ) ; this . config = { initConfig : { } , loadNpmTasks : { } , loadTasks : { } , registerMultiTask : { } , registerTask : { } } ; this . frozenConfig = { } ; this . grunt = grunt ; this . lootBatch = [ ] ; }
GruntHorde constructor.

Usage:

// Gruntfile.js
module.exports = function(grunt) {
require('grunt-horde')
.create(grunt)
.loot('my-base-config-module')
.loot('./config/grunt')
.attack();
};

Properties:

- `{object} config` Gruntfile.js values indexed by `grunt` method name
- `{object} initConfig`
- `{object} loadNpmTasks`
- `{object} loadTasks`
- `{object} registerMultiTask`
- `{object} registerTask`
- `{object} frozenConfig` Track `config` keys set in `Gruntfile.js`
- Allow client project to override defaults set in modules.
- Keys: `config` key names, values: not used
- `{string} [home=process.cwd]` Absolute path to project root dir w/out trailing slash
- `{object} grunt` Instance injected into Gruntfile.js
- `{array} lootBatch` Pending merge functions collected in Gruntfile.prototype.loot
GruntHorde constructor .