Class

Rails::Generator::GemGeneratorSource

Inheritance
< Rails::Generator::AbstractGemSource < Rails::Generator::Source < Object

GemGeneratorSource hits the mines to quarry for generators. The latest versions of gems named *_generator are selected.

Methods

Instance

Visibility Signature
public each () {|Spec.new(gem.name.sub(/_generator$/, ''), gem.full_gem_path, label)| ...}

Instance Method Detail

each() {|Spec.new(gem.name.sub(/_generator$/, ''), gem.full_gem_path, label)| ...}

Yield latest versions of generator gems.