text: 'use strict';
  var util = require('util');
  var yeoman = require('yeoman-generator');
  
  var ModuleGenerator = module.exports = function ModuleGenerator(args, options, config) {
    // By calling `NamedBase` here, we get the argument to the subgenerator call
    // as `this.name`.
    yeoman.generators.NamedBase.apply(this, arguments);
  
    console.log('Creating module ' + this.name + '.');
  };
  
  util.inherits(ModuleGenerator, yeoman.generators.NamedBase);
  
  ModuleGenerator.prototype.files = function files() {
    this.moduleName = this.name;
    this.template('_mod.spec.js', 'spec/' + this.moduleName + '.spec.js');
  };
  