Skip to content
Mickael Daniel edited this page Jan 16, 2013 · 1 revision

invoke#invoke

Receives a namespace, and an Hash of options to invoke a given generator. The usual list of arguments can be set with options.args (ex. nopt's argv.remain array)

It's used to hookFor another generator from within your generators.

  • namespace - The namespace value to look for.
  • options - The Hash of options to invoke the generator with. See Environment#create for the list of possible values.

Returns the generator instance.

Clone this wiki locally