123456789101112131415161718 |
- // in real use case, users need to require `yeoman-generators`
- // var generators = require('yeoman-generators');
- var generators = require('../../../');
- var util = require('util');
- var Generator = module.exports = function Generator(args, options) {
- generators.NamedBase.apply(this, arguments);
- // arguments === this.arguments
- // options === this.options
- };
- // namespace
- Generator.namespace = 'mocha:generator-base';
- util.inherits(Generator, generators.NamedBase);
- Generator.prototype.doStuff = function() {};
|